@@ -36,7 +36,7 @@ discard block |
||
36 | 36 | |
37 | 37 | /** |
38 | 38 | * @param $identifier |
39 | - * @return mixed|null |
|
39 | + * @return \yii\db\ActiveRecord|null |
|
40 | 40 | */ |
41 | 41 | public function find($identifier) |
42 | 42 | { |
@@ -45,7 +45,7 @@ discard block |
||
45 | 45 | |
46 | 46 | /** |
47 | 47 | * @param $identifier |
48 | - * @return mixed |
|
48 | + * @return null|\yii\db\ActiveRecord |
|
49 | 49 | * @throws NotFoundException |
50 | 50 | */ |
51 | 51 | public function get($identifier) |
@@ -64,7 +64,7 @@ discard block |
||
64 | 64 | |
65 | 65 | /** |
66 | 66 | * @param $condition |
67 | - * @return mixed|null |
|
67 | + * @return null|\yii\base\BaseObject |
|
68 | 68 | */ |
69 | 69 | public function findByCondition($condition) |
70 | 70 | { |
@@ -75,7 +75,7 @@ discard block |
||
75 | 75 | |
76 | 76 | /** |
77 | 77 | * @param $condition |
78 | - * @return mixed |
|
78 | + * @return null|\yii\base\BaseObject |
|
79 | 79 | * @throws NotFoundException |
80 | 80 | */ |
81 | 81 | public function getByCondition($condition) |
@@ -94,7 +94,7 @@ discard block |
||
94 | 94 | |
95 | 95 | /** |
96 | 96 | * @param $criteria |
97 | - * @return mixed|null |
|
97 | + * @return null|\yii\base\BaseObject |
|
98 | 98 | */ |
99 | 99 | public function findByCriteria($criteria) |
100 | 100 | { |
@@ -107,7 +107,7 @@ discard block |
||
107 | 107 | |
108 | 108 | /** |
109 | 109 | * @param $criteria |
110 | - * @return mixed |
|
110 | + * @return null|\yii\base\BaseObject |
|
111 | 111 | * @throws NotFoundException |
112 | 112 | */ |
113 | 113 | public function getByCriteria($criteria) |
@@ -38,7 +38,7 @@ discard block |
||
38 | 38 | *******************************************/ |
39 | 39 | |
40 | 40 | /** |
41 | - * @return int|null |
|
41 | + * @return boolean |
|
42 | 42 | */ |
43 | 43 | protected static function cacheDuration() |
44 | 44 | { |
@@ -67,7 +67,7 @@ discard block |
||
67 | 67 | |
68 | 68 | /** |
69 | 69 | * @param QueryInterface $query |
70 | - * @return mixed|null |
|
70 | + * @return null|\yii\base\BaseObject |
|
71 | 71 | */ |
72 | 72 | public function findByQuery(QueryInterface $query) |
73 | 73 | { |
@@ -76,7 +76,7 @@ discard block |
||
76 | 76 | |
77 | 77 | /** |
78 | 78 | * @param QueryInterface $query |
79 | - * @return mixed |
|
79 | + * @return null|\yii\base\BaseObject |
|
80 | 80 | * @throws NotFoundException |
81 | 81 | */ |
82 | 82 | public function getByQuery(QueryInterface $query) |
@@ -123,7 +123,7 @@ discard block |
||
123 | 123 | |
124 | 124 | /** |
125 | 125 | * @param QueryInterface $query |
126 | - * @return mixed|null |
|
126 | + * @return null|\yii\base\BaseObject |
|
127 | 127 | */ |
128 | 128 | protected function queryOne(QueryInterface $query) |
129 | 129 | { |