@@ -27,6 +27,7 @@ discard block |
||
27 | 27 | |
28 | 28 | /** |
29 | 29 | * @param OptionInterface $option |
30 | + * @return void |
|
30 | 31 | */ |
31 | 32 | public function setOption(OptionInterface $option = null); |
32 | 33 | |
@@ -41,6 +42,7 @@ discard block |
||
41 | 42 | * Set internal value. |
42 | 43 | * |
43 | 44 | * @param string $value |
45 | + * @return void |
|
44 | 46 | */ |
45 | 47 | public function setValue($value); |
46 | 48 |
@@ -27,6 +27,7 @@ discard block |
||
27 | 27 | |
28 | 28 | /** |
29 | 29 | * @param OptionInterface $option |
30 | + * @return void |
|
30 | 31 | */ |
31 | 32 | public function setOption(OptionInterface $option = null); |
32 | 33 | |
@@ -41,6 +42,7 @@ discard block |
||
41 | 42 | * Set internal value. |
42 | 43 | * |
43 | 44 | * @param string $value |
45 | + * @return void |
|
44 | 46 | */ |
45 | 47 | public function setValue($value); |
46 | 48 |
@@ -31,6 +31,7 @@ discard block |
||
31 | 31 | |
32 | 32 | /** |
33 | 33 | * @param string $name |
34 | + * @return void |
|
34 | 35 | */ |
35 | 36 | public function setName($name); |
36 | 37 | |
@@ -41,6 +42,7 @@ discard block |
||
41 | 42 | |
42 | 43 | /** |
43 | 44 | * @param VariableInterface|null $object |
45 | + * @return void |
|
44 | 46 | */ |
45 | 47 | public function setObject(VariableInterface $object = null); |
46 | 48 | |
@@ -51,16 +53,19 @@ discard block |
||
51 | 53 | |
52 | 54 | /** |
53 | 55 | * @param Collection $options |
56 | + * @return void |
|
54 | 57 | */ |
55 | 58 | public function setOptions(Collection $options); |
56 | 59 | |
57 | 60 | /** |
58 | 61 | * @param OptionValueInterface $option |
62 | + * @return void |
|
59 | 63 | */ |
60 | 64 | public function addOption(OptionValueInterface $option); |
61 | 65 | |
62 | 66 | /** |
63 | 67 | * @param OptionValueInterface $option |
68 | + * @return void |
|
64 | 69 | */ |
65 | 70 | public function removeOption(OptionValueInterface $option); |
66 | 71 |
@@ -39,6 +39,7 @@ discard block |
||
39 | 39 | * Sets all option values. |
40 | 40 | * |
41 | 41 | * @param Collection $optionValues |
42 | + * @return void |
|
42 | 43 | */ |
43 | 44 | public function setValues(Collection $optionValues); |
44 | 45 | |
@@ -46,6 +47,7 @@ discard block |
||
46 | 47 | * Adds option value. |
47 | 48 | * |
48 | 49 | * @param OptionValueInterface $optionValue |
50 | + * @return void |
|
49 | 51 | */ |
50 | 52 | public function addValue(OptionValueInterface $optionValue); |
51 | 53 | |
@@ -53,6 +55,7 @@ discard block |
||
53 | 55 | * Removes option value. |
54 | 56 | * |
55 | 57 | * @param OptionValueInterface $optionValue |
58 | + * @return void |
|
56 | 59 | */ |
57 | 60 | public function removeValue(OptionValueInterface $optionValue); |
58 | 61 |
@@ -27,6 +27,7 @@ |
||
27 | 27 | |
28 | 28 | /** |
29 | 29 | * @param string $value |
30 | + * @return void |
|
30 | 31 | */ |
31 | 32 | public function setValue($value); |
32 | 33 | } |
@@ -91,6 +91,6 @@ |
||
91 | 91 | |
92 | 92 | <info>php %command.full_name% web --symlink --relative</info> |
93 | 93 | |
94 | -EOT; |
|
94 | +eot; |
|
95 | 95 | } |
96 | 96 | } |
@@ -62,7 +62,7 @@ discard block |
||
62 | 62 | $this->loadFixturesFromFile('authentication/api_administrator.yml'); |
63 | 63 | $locales = $this->loadFixturesFromFile('resources/locales.yml'); |
64 | 64 | |
65 | - $this->client->request('GET', '/api/locales/'.$locales['locale_en']->getCode(), [], [], static::$authorizedHeaderWithAccept); |
|
65 | + $this->client->request('GET', '/api/locales/' . $locales['locale_en']->getCode(), [], [], static::$authorizedHeaderWithAccept); |
|
66 | 66 | |
67 | 67 | $response = $this->client->getResponse(); |
68 | 68 | $this->assertResponse($response, 'locale/show_response', Response::HTTP_OK); |
@@ -130,12 +130,12 @@ discard block |
||
130 | 130 | $this->loadFixturesFromFile('authentication/api_administrator.yml'); |
131 | 131 | $locales = $this->loadFixturesFromFile('resources/locales.yml'); |
132 | 132 | |
133 | - $this->client->request('DELETE', '/api/locales/'.$locales['locale_en']->getCode(), [], [], static::$authorizedHeaderWithContentType, []); |
|
133 | + $this->client->request('DELETE', '/api/locales/' . $locales['locale_en']->getCode(), [], [], static::$authorizedHeaderWithContentType, []); |
|
134 | 134 | |
135 | 135 | $response = $this->client->getResponse(); |
136 | 136 | $this->assertResponseCode($response, Response::HTTP_NO_CONTENT); |
137 | 137 | |
138 | - $this->client->request('GET', '/api/locales/'.$locales['locale_en']->getId(), [], [], static::$authorizedHeaderWithAccept); |
|
138 | + $this->client->request('GET', '/api/locales/' . $locales['locale_en']->getId(), [], [], static::$authorizedHeaderWithAccept); |
|
139 | 139 | |
140 | 140 | $response = $this->client->getResponse(); |
141 | 141 | $this->assertResponse($response, 'error/not_found_response', Response::HTTP_NOT_FOUND); |
@@ -91,6 +91,6 @@ |
||
91 | 91 | |
92 | 92 | <info>php %command.full_name% web --symlink --relative</info> |
93 | 93 | |
94 | -EOT; |
|
94 | +eot; |
|
95 | 95 | } |
96 | 96 | } |
@@ -96,7 +96,7 @@ |
||
96 | 96 | $this->loadFixturesFromFile('authentication/api_administrator.yml'); |
97 | 97 | $countries = $this->loadFixturesFromFile('resources/countries.yml'); |
98 | 98 | |
99 | - $this->client->request('GET', '/api/countries/'.$countries['country_NL']->getCode(), [], [], static::$authorizedHeaderWithAccept); |
|
99 | + $this->client->request('GET', '/api/countries/' . $countries['country_NL']->getCode(), [], [], static::$authorizedHeaderWithAccept); |
|
100 | 100 | |
101 | 101 | $response = $this->client->getResponse(); |
102 | 102 | $this->assertResponse($response, 'country/show_response', Response::HTTP_OK); |
@@ -28,7 +28,7 @@ |
||
28 | 28 | */ |
29 | 29 | public function load(array $config, ContainerBuilder $container) |
30 | 30 | { |
31 | - $loader = new XmlFileLoader($container, new FileLocator(__DIR__.'/../Resources/config')); |
|
31 | + $loader = new XmlFileLoader($container, new FileLocator(__DIR__ . '/../Resources/config')); |
|
32 | 32 | $loader->load('services.xml'); |
33 | 33 | $loader->load('twig.xml'); |
34 | 34 | } |
@@ -28,7 +28,7 @@ |
||
28 | 28 | */ |
29 | 29 | public function load(array $config, ContainerBuilder $container) |
30 | 30 | { |
31 | - $loader = new XmlFileLoader($container, new FileLocator(__DIR__.'/../Resources/config')); |
|
31 | + $loader = new XmlFileLoader($container, new FileLocator(__DIR__ . '/../Resources/config')); |
|
32 | 32 | $loader->load('services.xml'); |
33 | 33 | $loader->load('twig.xml'); |
34 | 34 | } |