Index: trunk/phase3/includes/StubObject.php |
— | — | @@ -24,7 +24,7 @@ |
25 | 25 | } |
26 | 26 | |
27 | 27 | static function isRealObject( $obj ) { |
28 | | - return is_object( $obj ) && !(instanceof 'StubObject'); |
| 28 | + return is_object( $obj ) && !($obj instanceof StubObject); |
29 | 29 | } |
30 | 30 | |
31 | 31 | function _call( $name, $args ) { |