@@ -19,11 +19,11 @@ |
||
| 19 | 19 | return [ |
| 20 | 20 | 'ymlCategory' => [ |
| 21 | 21 | 'class' => YmlCategoryBehavior::className(), |
| 22 | - 'scope' => function ($model) { |
|
| 22 | + 'scope' => function($model) { |
|
| 23 | 23 | /** @var \yii\db\ActiveQuery $model */ |
| 24 | 24 | $model->select(['id', 'name', 'parentId']); |
| 25 | 25 | }, |
| 26 | - 'dataClosure' => function ($model) { |
|
| 26 | + 'dataClosure' => function($model) { |
|
| 27 | 27 | /** @var self $model */ |
| 28 | 28 | return [ |
| 29 | 29 | 'id' => $model->id, |
@@ -65,7 +65,7 @@ |
||
| 65 | 65 | ] |
| 66 | 66 | ]), |
| 67 | 67 | ]); |
| 68 | - $expected = file_get_contents(__DIR__ . '/data/yml.bin'); |
|
| 68 | + $expected = file_get_contents(__DIR__.'/data/yml.bin'); |
|
| 69 | 69 | $this->assertEquals($expected, $actual); |
| 70 | 70 | } |
| 71 | 71 | } |
| 72 | 72 | \ No newline at end of file |