Skip to content

Commit 2c2175e

Browse files
authored
Apply suggestions from code review
1 parent d26aba8 commit 2c2175e

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/actions/CreateAction.php

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,9 +45,10 @@ class CreateAction extends JsonApiAction
4545
* $relatedModels = Relation::find()->where(['id' => $ids])->andWhere([additional conditions])->all();
4646
* if(count($relatedModels) < $ids) {
4747
* throw new HttpException(422, 'Invalid photos ids');
48-
* }},
48+
* }
49+
* },
4950
* ]
50-
**/
51+
*/
5152

5253
public $allowedRelations = [];
5354

0 commit comments

Comments
 (0)