@@ -52,7 +52,7 @@ class GetAssetsByPathsTest extends TestCase
5252 /**
5353 * @var \Zend_Db_Statement_Interface|MockObject
5454 */
55- private $ statement ;
55+ private $ statement ;
5656
5757 protected function setUp (): void
5858 {
@@ -70,7 +70,6 @@ protected function setUp(): void
7070 $ this ->select = $ this ->createMock (Select::class);
7171 $ this ->statement = $ this ->createMock (\Zend_Db_Statement_Interface::class);
7272
73-
7473 $ resourceConnection ->expects ($ this ->any ())
7574 ->method ('getConnection ' )
7675 ->willReturn ($ this ->adapter );
@@ -85,12 +84,11 @@ protected function setUp(): void
8584 *
8685 * @dataProvider assetDeleteByPathDataProvider
8786 */
88- public function testGetCorrectAssetByPathWithCaseSensitiveMatches (
87+ public function testGetCorrectAssetByPathWithCaseSensitiveMatches (
8988 array $ assets ,
9089 int $ assetIndex ,
9190 int $ resultsCount
92- ): void
93- {
91+ ): void {
9492 $ this ->adapter ->expects ($ this ->once ())->method ('select ' )->willReturn ($ this ->select );
9593 $ this ->select ->expects ($ this ->once ())->method ('from ' )->willReturnSelf ();
9694 $ this ->select ->expects ($ this ->once ())->method ('where ' )->willReturnSelf ();
@@ -133,7 +131,7 @@ private function getAssets(): array
133131 'id ' => '1 ' ,
134132 'path ' => 'catalog/category/folder/image.jpg ' ,
135133 'title ' => 'image ' ,
136- 'description ' => NULL ,
134+ 'description ' => null ,
137135 'source ' => 'Local ' ,
138136 'hash ' => '20b88741b3cfa5749d414a0312c8b909aefbaa1f ' ,
139137 'content_type ' => 'image/jpg ' ,
@@ -147,7 +145,7 @@ private function getAssets(): array
147145 'id ' => '2 ' ,
148146 'path ' => 'catalog/category/folder/Image.jpg ' ,
149147 'title ' => 'Image ' ,
150- 'description ' => NULL ,
148+ 'description ' => null ,
151149 'source ' => 'Local ' ,
152150 'hash ' => '20b88741b3cfa5749d414a0312c8b909aefbaa1f ' ,
153151 'content_type ' => 'image/jpg ' ,
@@ -161,7 +159,7 @@ private function getAssets(): array
161159 'id ' => '3 ' ,
162160 'path ' => 'catalog/category/folder/IMAGE.JPG ' ,
163161 'title ' => 'IMAGE ' ,
164- 'description ' => NULL ,
162+ 'description ' => null ,
165163 'source ' => 'Local ' ,
166164 'hash ' => '93a7c1f07373afafcd4918379dacf8e3de6a3eca ' ,
167165 'content_type ' => 'image/jpg ' ,
@@ -175,7 +173,7 @@ private function getAssets(): array
175173 'id ' => '4 ' ,
176174 'path ' => 'catalog/category/FOLDER/IMAGE.JPG ' ,
177175 'title ' => 'IMAGE ' ,
178- 'description ' => NULL ,
176+ 'description ' => null ,
179177 'source ' => 'Local ' ,
180178 'hash ' => '93a7c1f07373afafcd4918379dacf8e3de6a3eca ' ,
181179 'content_type ' => 'image/jpg ' ,
0 commit comments