1 | <?php |
||
15 | class Manager extends Model |
||
16 | { |
||
17 | |||
18 | public function getSource() |
||
22 | |||
23 | public $id; |
||
24 | public $url; |
||
25 | public $head_title; |
||
26 | public $meta_description; |
||
27 | public $meta_keywords; |
||
28 | public $seo_text; |
||
29 | public $created_at; |
||
30 | public $updated_at; |
||
31 | |||
32 | public function validation() |
||
36 | |||
37 | public function beforeCreate() |
||
41 | |||
42 | public function beforeUpdate() |
||
46 | |||
47 | public function afterSave() |
||
51 | |||
52 | public function afterDelete() |
||
56 | |||
57 | private function buildCmsSeoManagerCache() |
||
75 | |||
76 | public static function urls() |
||
80 | |||
81 | public function getUrl() |
||
85 | |||
86 | public function setUrl($url) |
||
93 | |||
94 | public function setCreatedAt($created_at) |
||
98 | |||
99 | public function getCreatedAt() |
||
103 | |||
104 | public function getId() |
||
108 | |||
109 | public function setUpdatedAt($updated_at) |
||
113 | |||
114 | public function getUpdatedAt() |
||
118 | |||
119 | public function setHead_title($head_title) |
||
123 | |||
124 | public function getHead_title() |
||
128 | |||
129 | public function setMeta_description($meta_description) |
||
133 | |||
134 | public function getMeta_description() |
||
138 | |||
139 | public function setMeta_keywords($meta_keywords) |
||
143 | |||
144 | public function getMeta_keywords() |
||
148 | |||
149 | public function setSeo_text($seo_text) |
||
153 | |||
154 | public function getSeo_text() |
||
158 | |||
159 | |||
160 | } |
This check looks for function or method calls that always return null and whose return value is assigned to a variable.
The method
getObject()
can return nothing but null, so it makes no sense to assign that value to a variable.The reason is most likely that a function or method is imcomplete or has been reduced for debug purposes.