@@ -87,7 +87,7 @@ discard block |
||
87 | 87 | /** |
88 | 88 | * Ensures the parent record is attached to the behavior. |
89 | 89 | * |
90 | - * @param BaseActiveRecord $owner |
|
90 | + * @param \yii\db\BaseActiveRecord $owner |
|
91 | 91 | * @param bool $force whether to force finding the slug parent record |
92 | 92 | * when `$parentSlugRelation` is defined |
93 | 93 | */ |
@@ -104,7 +104,7 @@ discard block |
||
104 | 104 | |
105 | 105 | /** |
106 | 106 | * This populates the slug to the parentSlug |
107 | - * @param BaseActiveRecord $owner |
|
107 | + * @param \yii\db\BaseActiveRecord $owner |
|
108 | 108 | */ |
109 | 109 | private function populateSlugParent(BaseActiveRecord $owner) |
110 | 110 | { |
@@ -167,7 +167,7 @@ discard block |
||
167 | 167 | /** |
168 | 168 | * Creates a data provider for the request. |
169 | 169 | * |
170 | - * @return ActiveDataProvider |
|
170 | + * @return \yii\data\ActiveDataProvider |
|
171 | 171 | */ |
172 | 172 | public function indexProvider(): ActiveDataProvider |
173 | 173 | { |
@@ -177,7 +177,7 @@ discard block |
||
177 | 177 | /** |
178 | 178 | * Finds the record based on the provided id or throws an exception. |
179 | 179 | * @param int $id the unique identifier for the record. |
180 | - * @return ActiveRecordInterface |
|
180 | + * @return \yii\db\ActiveRecordInterface |
|
181 | 181 | * @throws NotFoundHttpException if the record can't be found. |
182 | 182 | */ |
183 | 183 | public function findModel($id): ActiveRecordInterface |
@@ -195,7 +195,7 @@ discard block |
||
195 | 195 | * Creates the query to be used by the `findOne()` method. |
196 | 196 | * |
197 | 197 | * @param int $id the unique identifier |
198 | - * @return ActiveQuery |
|
198 | + * @return \yii\db\ActiveQuery |
|
199 | 199 | */ |
200 | 200 | public function findQuery($id): ActiveQuery |
201 | 201 | { |
@@ -206,7 +206,7 @@ discard block |
||
206 | 206 | * Creates the query to be used by the `index` action when `$searchClass` is |
207 | 207 | * not set. |
208 | 208 | * |
209 | - * @return ActiveQuery |
|
209 | + * @return \yii\db\ActiveQuery |
|
210 | 210 | */ |
211 | 211 | public function indexQuery(): ActiveQuery |
212 | 212 | { |
@@ -214,7 +214,7 @@ discard block |
||
214 | 214 | } |
215 | 215 | |
216 | 216 | /** |
217 | - * @return ActiveQuery |
|
217 | + * @return \yii\db\ActiveQuery |
|
218 | 218 | */ |
219 | 219 | protected function baseQuery(): ActiveQuery |
220 | 220 | { |
@@ -2,8 +2,8 @@ |
||
2 | 2 | |
3 | 3 | namespace roaresearch\yii2\roa\modules; |
4 | 4 | |
5 | -use roaresearch\yii2\oauth2server\filters\auth\CompositeAuth; |
|
6 | 5 | use roaresearch\yii2\oauth2server\Module as OAuth2Module; |
6 | +use roaresearch\yii2\oauth2server\filters\auth\CompositeAuth; |
|
7 | 7 | use roaresearch\yii2\roa\{ |
8 | 8 | controllers\ApiContainerController, |
9 | 9 | urlRules\Composite as CompositeUrlRule, |
@@ -3,7 +3,6 @@ |
||
3 | 3 | namespace roaresearch\yii2\roa\test; |
4 | 4 | |
5 | 5 | use Codeception\{Example, Util\HttpCode}; |
6 | -use roaresearch\yii2\roa\urlRules\Resource as ResourceUrlRule; |
|
7 | 6 | use yii\web\UrlManager; |
8 | 7 | |
9 | 8 | abstract class AbstractResourceCest |
@@ -117,7 +117,7 @@ discard block |
||
117 | 117 | } |
118 | 118 | |
119 | 119 | /** |
120 | - * @param UrlManager $manager the URL manager |
|
120 | + * @param \yii\web\UrlManager $manager the URL manager |
|
121 | 121 | * @return bool |
122 | 122 | */ |
123 | 123 | protected function hasNormalizer($manager): bool |
@@ -126,7 +126,7 @@ discard block |
||
126 | 126 | } |
127 | 127 | |
128 | 128 | /** |
129 | - * @param UrlManager $manager the URL manager |
|
129 | + * @param \yii\web\UrlManager $manager the URL manager |
|
130 | 130 | * @return ?UrlNormalizer |
131 | 131 | */ |
132 | 132 | protected function getNormalizer(UrlManager $manager): ?UrlNormalizer |
@@ -141,7 +141,7 @@ discard block |
||
141 | 141 | } |
142 | 142 | |
143 | 143 | /** |
144 | - * @return NotFoundHttpException |
|
144 | + * @return \yii\web\NotFoundHttpException |
|
145 | 145 | */ |
146 | 146 | protected function createNotFoundException(): NotFoundHttpException |
147 | 147 | { |