@@ -227,7 +227,7 @@ |
||
227 | 227 | } |
228 | 228 | |
229 | 229 | /** |
230 | - * @return \PHPUnit_Framework_MockObject_MockObject|\Spryker\Zed\Event\Dependency\Plugin\EventSubscriberInterface |
|
230 | + * @return EventSubscriberInterface |
|
231 | 231 | */ |
232 | 232 | protected function createEventSubscriberMock() |
233 | 233 | { |
@@ -223,7 +223,7 @@ |
||
223 | 223 | protected function createTransferObjectMock() |
224 | 224 | { |
225 | 225 | return $this->getMockBuilder(TransferInterface::class) |
226 | - ->getMock(); |
|
226 | + ->getMock(); |
|
227 | 227 | } |
228 | 228 | |
229 | 229 | /** |
@@ -266,15 +266,15 @@ |
||
266 | 266 | |
267 | 267 | $businessLayerDependencies = $eventDependencyProvider->provideBusinessLayerDependencies($container); |
268 | 268 | |
269 | - $container[EventDependencyProvider::CLIENT_QUEUE] = function () use ($queueClientMock) { |
|
269 | + $container[EventDependencyProvider::CLIENT_QUEUE] = function() use ($queueClientMock) { |
|
270 | 270 | return $queueClientMock; |
271 | 271 | }; |
272 | 272 | |
273 | - $container[EventDependencyProvider::EVENT_LISTENERS] = function () use ($eventCollection) { |
|
273 | + $container[EventDependencyProvider::EVENT_LISTENERS] = function() use ($eventCollection) { |
|
274 | 274 | return $eventCollection; |
275 | 275 | }; |
276 | 276 | |
277 | - $container[EventDependencyProvider::EVENT_SUBSCRIBERS] = function () use ($eventSubscriberCollection) { |
|
277 | + $container[EventDependencyProvider::EVENT_SUBSCRIBERS] = function() use ($eventSubscriberCollection) { |
|
278 | 278 | return $eventSubscriberCollection; |
279 | 279 | }; |
280 | 280 |
@@ -16,7 +16,7 @@ |
||
16 | 16 | { |
17 | 17 | |
18 | 18 | /** |
19 | - * @return \Spryker\Client\EventJournal\EventJournalClientInterface |
|
19 | + * @return EventJournal |
|
20 | 20 | */ |
21 | 21 | public function createEventJournal() |
22 | 22 | { |
@@ -583,7 +583,7 @@ |
||
583 | 583 | } |
584 | 584 | |
585 | 585 | /** |
586 | - * @return bool|string |
|
586 | + * @return false|string |
|
587 | 587 | */ |
588 | 588 | protected function getDocumentFileContent() |
589 | 589 | { |
@@ -99,13 +99,13 @@ discard block |
||
99 | 99 | protected function setupContainerAndFlysystemService(Container $container) |
100 | 100 | { |
101 | 101 | $flysystemContainer = new Container(); |
102 | - $flysystemContainer[FlysystemDependencyProvider::PLUGIN_COLLECTION_FILESYSTEM_BUILDER] = function (Container $flysystemContainer) { |
|
102 | + $flysystemContainer[FlysystemDependencyProvider::PLUGIN_COLLECTION_FILESYSTEM_BUILDER] = function(Container $flysystemContainer) { |
|
103 | 103 | return [ |
104 | 104 | new LocalFilesystemBuilderPlugin() |
105 | 105 | ]; |
106 | 106 | }; |
107 | 107 | |
108 | - $flysystemContainer[FlysystemDependencyProvider::PLUGIN_COLLECTION_FLYSYSTEM] = function (Container $flysystemContainer) { |
|
108 | + $flysystemContainer[FlysystemDependencyProvider::PLUGIN_COLLECTION_FLYSYSTEM] = function(Container $flysystemContainer) { |
|
109 | 109 | return []; |
110 | 110 | }; |
111 | 111 | |
@@ -127,15 +127,15 @@ discard block |
||
127 | 127 | $fileSystemStreamPlugin = new FileSystemStreamPlugin(); |
128 | 128 | $fileSystemStreamPlugin->setService($flysystemService); |
129 | 129 | |
130 | - $container[FileSystemDependencyProvider::PLUGIN_READER] = function (Container $container) use ($fileSystemReaderPlugin) { |
|
130 | + $container[FileSystemDependencyProvider::PLUGIN_READER] = function(Container $container) use ($fileSystemReaderPlugin) { |
|
131 | 131 | return $fileSystemReaderPlugin; |
132 | 132 | }; |
133 | 133 | |
134 | - $container[FileSystemDependencyProvider::PLUGIN_WRITER] = function (Container $container) use ($fileSystemWriterPlugin) { |
|
134 | + $container[FileSystemDependencyProvider::PLUGIN_WRITER] = function(Container $container) use ($fileSystemWriterPlugin) { |
|
135 | 135 | return $fileSystemWriterPlugin; |
136 | 136 | }; |
137 | 137 | |
138 | - $container[FileSystemDependencyProvider::PLUGIN_STREAM] = function (Container $container) use ($fileSystemStreamPlugin) { |
|
138 | + $container[FileSystemDependencyProvider::PLUGIN_STREAM] = function(Container $container) use ($fileSystemStreamPlugin) { |
|
139 | 139 | return $fileSystemStreamPlugin; |
140 | 140 | }; |
141 | 141 |
@@ -154,7 +154,7 @@ |
||
154 | 154 | /** |
155 | 155 | * @param array $details |
156 | 156 | * |
157 | - * @return array |
|
157 | + * @return string[] |
|
158 | 158 | */ |
159 | 159 | protected function buildActionUrls($details) |
160 | 160 | { |
@@ -99,7 +99,7 @@ |
||
99 | 99 | /** |
100 | 100 | * @api |
101 | 101 | * |
102 | - * @return \Orm\Zed\Glossary\Persistence\SpyGlossaryTranslationQuery |
|
102 | + * @return string |
|
103 | 103 | */ |
104 | 104 | public function queryTranslations() |
105 | 105 | { |
@@ -310,7 +310,7 @@ |
||
310 | 310 | * |
311 | 311 | * @return string |
312 | 312 | */ |
313 | - $quoteFunction = function ($value) { |
|
313 | + $quoteFunction = function($value) { |
|
314 | 314 | return "'$value'"; |
315 | 315 | }; |
316 | 316 |
@@ -394,7 +394,7 @@ |
||
394 | 394 | } |
395 | 395 | |
396 | 396 | /** |
397 | - * @return mixed |
|
397 | + * @return integer|null |
|
398 | 398 | */ |
399 | 399 | public function getOffset() |
400 | 400 | { |
@@ -237,7 +237,7 @@ |
||
237 | 237 | */ |
238 | 238 | protected function escapeColumns(array $row, array $safeColumns) |
239 | 239 | { |
240 | - $callback = function (&$value, $key) use ($safeColumns) { |
|
240 | + $callback = function(&$value, $key) use ($safeColumns) { |
|
241 | 241 | if (!in_array($key, $safeColumns)) { |
242 | 242 | $value = \twig_escape_filter(new Twig_Environment(), $value); |
243 | 243 | } |
@@ -51,7 +51,7 @@ |
||
51 | 51 | } |
52 | 52 | |
53 | 53 | /** |
54 | - * @return object|\Spryker\Shared\Kernel\Dependency\Injector\DependencyInjectorInterface |
|
54 | + * @return \Spryker\Shared\Kernel\Dependency\Injector\DependencyInjectorInterface |
|
55 | 55 | */ |
56 | 56 | protected function getResolvedClassInstance() |
57 | 57 | { |
@@ -51,7 +51,7 @@ |
||
51 | 51 | } |
52 | 52 | |
53 | 53 | /** |
54 | - * @return object|\Spryker\Zed\Kernel\Dependency\Injector\DependencyInjectorInterface |
|
54 | + * @return \Spryker\Zed\Kernel\Dependency\Injector\DependencyInjectorInterface |
|
55 | 55 | */ |
56 | 56 | protected function getResolvedClassInstance() |
57 | 57 | { |
@@ -249,7 +249,7 @@ discard block |
||
249 | 249 | } |
250 | 250 | |
251 | 251 | /** |
252 | - * @return \Psr\Log\LoggerInterface|\Symfony\Component\Console\Logger\ConsoleLogger |
|
252 | + * @return null|\Psr\Log\LoggerInterface |
|
253 | 253 | */ |
254 | 254 | protected function getMessenger() |
255 | 255 | { |
@@ -261,7 +261,7 @@ discard block |
||
261 | 261 | } |
262 | 262 | |
263 | 263 | /** |
264 | - * @param string|array $message |
|
264 | + * @param string $message |
|
265 | 265 | * @param bool $wrapInInfoTags |
266 | 266 | * |
267 | 267 | * @return void |