1 | <?php |
||
2 | /** |
||
3 | * Class FulltextSearchExtension|Firesphere\SolrCompatibility\Extensions\DataObjectExtension provide help for |
||
4 | * migrating from the old module |
||
5 | * |
||
6 | * @package Firesphere\Solr\Compatibility |
||
7 | * @author Simon `Firesphere` Erkelens; Marco `Sheepy` Hermo |
||
8 | * @copyright Copyright (c) 2018 - now() Firesphere & Sheepy |
||
9 | */ |
||
10 | |||
11 | |||
12 | namespace Firesphere\SolrCompatibility\Extensions; |
||
13 | |||
14 | use SilverStripe\Core\Extension; |
||
15 | use SilverStripe\ORM\DataObject; |
||
16 | |||
17 | /** |
||
18 | * Class \Firesphere\SolrCompatibility\Extensions\DataObjectExtension |
||
19 | * |
||
20 | * @property DataObject|DataObjectExtension $owner |
||
21 | */ |
||
22 | class DataObjectExtension extends Extension |
||
23 | { |
||
24 | /** |
||
25 | * Stub for triggering a reindex of the owner |
||
26 | */ |
||
27 | public function triggerReindex() |
||
28 | { |
||
29 | $this->owner->doReindex(); |
||
0 ignored issues
–
show
|
|||
30 | } |
||
31 | } |
||
32 |
This check looks for calls to methods that do not seem to exist on a given type. It looks for the method on the type itself as well as in inherited classes or implemented interfaces.
This is most likely a typographical error or the method has been renamed.