1 | <?php |
||
13 | class Translate extends Model |
||
14 | { |
||
15 | |||
16 | public function getSource() |
||
20 | |||
21 | public $id; |
||
22 | public $lang; |
||
23 | public $phrase; |
||
24 | public $translation; |
||
25 | |||
26 | public static function translates() |
||
30 | |||
31 | public static function findCachedByLangInArray($lang = null) |
||
36 | |||
37 | public function findByPhraseAndLang($phrase, $lang = null) |
||
51 | |||
52 | public static function buildCmsTranslatesCache() |
||
66 | |||
67 | /** |
||
68 | * @param mixed $id |
||
69 | */ |
||
70 | public function setId($id) |
||
74 | |||
75 | /** |
||
76 | * @return mixed |
||
77 | */ |
||
78 | public function getId() |
||
82 | |||
83 | /** |
||
84 | * @param mixed $lang |
||
85 | */ |
||
86 | public function setLang($lang) |
||
90 | |||
91 | /** |
||
92 | * @return mixed |
||
93 | */ |
||
94 | public function getLang() |
||
98 | |||
99 | /** |
||
100 | * @param mixed $phrase |
||
101 | */ |
||
102 | public function setPhrase($phrase) |
||
106 | |||
107 | /** |
||
108 | * @return mixed |
||
109 | */ |
||
110 | public function getPhrase() |
||
114 | |||
115 | /** |
||
116 | * @param mixed $translation |
||
117 | */ |
||
118 | public function setTranslation($translation) |
||
122 | |||
123 | /** |
||
124 | * @return mixed |
||
125 | */ |
||
126 | public function getTranslation() |
||
130 | } |
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.