minor changes

This commit is contained in:
ZsBT 2015-04-10 09:53:11 +02:00
commit 17ab29ce00
2 changed files with 6 additions and 6 deletions

View file

@ -92,7 +92,7 @@ class Thread
*/
public function __construct( $runnable = null )
{
if(!Thread::isAvailable)throw new Exception("Threads not supported");
if(!Thread::isAvailable() )throw new Exception("Threads not supported");
if ( $runnable !== null ) {
$this->setRunnable($runnable);
}