@@ -9,7 +9,7 @@ |
||
9 | 9 | * file that was distributed with this source code. |
10 | 10 | */ |
11 | 11 | |
12 | -declare(strict_types=1); |
|
12 | +declare(strict_types = 1); |
|
13 | 13 | |
14 | 14 | namespace Sylius\Component\Resource\Storage; |
15 | 15 |
@@ -35,12 +35,14 @@ |
||
35 | 35 | |
36 | 36 | /** |
37 | 37 | * @param string $name |
38 | - * @param mixed $value |
|
38 | + * @param string $value |
|
39 | + * @return void |
|
39 | 40 | */ |
40 | 41 | public function set(string $name, $value): void; |
41 | 42 | |
42 | 43 | /** |
43 | 44 | * @param string $name |
45 | + * @return void |
|
44 | 46 | */ |
45 | 47 | public function remove(string $name): void; |
46 | 48 |
@@ -9,7 +9,7 @@ |
||
9 | 9 | * file that was distributed with this source code. |
10 | 10 | */ |
11 | 11 | |
12 | -declare(strict_types=1); |
|
12 | +declare(strict_types = 1); |
|
13 | 13 | |
14 | 14 | namespace Sylius\Component\Resource\Metadata; |
15 | 15 |
@@ -45,12 +45,14 @@ |
||
45 | 45 | |
46 | 46 | /** |
47 | 47 | * @param MetadataInterface $metadata |
48 | + * @return void |
|
48 | 49 | */ |
49 | 50 | public function add(MetadataInterface $metadata): void; |
50 | 51 | |
51 | 52 | /** |
52 | 53 | * @param string $alias |
53 | 54 | * @param array $configuration |
55 | + * @return void |
|
54 | 56 | */ |
55 | 57 | public function addFromAliasAndConfiguration(string $alias, array $configuration): void; |
56 | 58 | } |
@@ -9,7 +9,7 @@ |
||
9 | 9 | * file that was distributed with this source code. |
10 | 10 | */ |
11 | 11 | |
12 | -declare(strict_types=1); |
|
12 | +declare(strict_types = 1); |
|
13 | 13 | |
14 | 14 | namespace Sylius\Component\Resource\StateMachine; |
15 | 15 |
@@ -9,7 +9,7 @@ |
||
9 | 9 | * file that was distributed with this source code. |
10 | 10 | */ |
11 | 11 | |
12 | -declare(strict_types=1); |
|
12 | +declare(strict_types = 1); |
|
13 | 13 | |
14 | 14 | namespace Sylius\Component\Resource\Exception; |
15 | 15 |
@@ -9,7 +9,7 @@ |
||
9 | 9 | * file that was distributed with this source code. |
10 | 10 | */ |
11 | 11 | |
12 | -declare(strict_types=1); |
|
12 | +declare(strict_types = 1); |
|
13 | 13 | |
14 | 14 | namespace Sylius\Component\Resource\Translation\Provider; |
15 | 15 |
@@ -9,7 +9,7 @@ |
||
9 | 9 | * file that was distributed with this source code. |
10 | 10 | */ |
11 | 11 | |
12 | -declare(strict_types=1); |
|
12 | +declare(strict_types = 1); |
|
13 | 13 | |
14 | 14 | namespace Sylius\Component\Resource\Translation; |
15 | 15 |
@@ -9,7 +9,7 @@ |
||
9 | 9 | * file that was distributed with this source code. |
10 | 10 | */ |
11 | 11 | |
12 | -declare(strict_types=1); |
|
12 | +declare(strict_types = 1); |
|
13 | 13 | |
14 | 14 | namespace Sylius\Component\Resource\Repository; |
15 | 15 |
@@ -29,17 +29,19 @@ |
||
29 | 29 | * @param array $criteria |
30 | 30 | * @param array $sorting |
31 | 31 | * |
32 | - * @return iterable |
|
32 | + * @return \Pagerfanta\Pagerfanta |
|
33 | 33 | */ |
34 | 34 | public function createPaginator(array $criteria = [], array $sorting = []): iterable; |
35 | 35 | |
36 | 36 | /** |
37 | 37 | * @param ResourceInterface $resource |
38 | + * @return void |
|
38 | 39 | */ |
39 | 40 | public function add(ResourceInterface $resource): void; |
40 | 41 | |
41 | 42 | /** |
42 | 43 | * @param ResourceInterface $resource |
44 | + * @return void |
|
43 | 45 | */ |
44 | 46 | public function remove(ResourceInterface $resource): void; |
45 | 47 | } |
@@ -9,7 +9,7 @@ |
||
9 | 9 | * file that was distributed with this source code. |
10 | 10 | */ |
11 | 11 | |
12 | -declare(strict_types=1); |
|
12 | +declare(strict_types = 1); |
|
13 | 13 | |
14 | 14 | namespace Sylius\Component\Resource\Repository\Exception; |
15 | 15 |
@@ -9,7 +9,7 @@ |
||
9 | 9 | * file that was distributed with this source code. |
10 | 10 | */ |
11 | 11 | |
12 | -declare(strict_types=1); |
|
12 | +declare(strict_types = 1); |
|
13 | 13 | |
14 | 14 | namespace Sylius\Component\Resource\Generator; |
15 | 15 |