Index: trunk/extensions/InlineEditor/InlineEditorMarking.class.php |
— | — | @@ -203,7 +203,7 @@ |
204 | 204 | * @return bool |
205 | 205 | */ |
206 | 206 | public function equals( InlineEditorPiece $piece, array $ignoreClasses = array() ) { |
207 | | - if( is_a( $piece, 'InlineEditorMarking' ) ) { |
| 207 | + if( $piece instanceof InlineEditorMarking ) { |
208 | 208 | $classesA = array_diff( $this->classes, $ignoreClasses ); |
209 | 209 | $classesB = array_diff( $piece->classes, $ignoreClasses ); |
210 | 210 | $diffA = array_diff( $classesA, $classesB); |