Passed
Branch master (7a7cfe)
by Fabian
45:14
created
FileSystem/tests/SprykerTest/Service/FileSystem/FileSystemServiceTest.php 2 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -583,7 +583,7 @@
 block discarded – undo
583 583
     }
584 584
 
585 585
     /**
586
-     * @return bool|string
586
+     * @return false|string
587 587
      */
588 588
     protected function getDocumentFileContent()
589 589
     {
Please login to merge, or discard this patch.
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -99,13 +99,13 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
 
Please login to merge, or discard this patch.
Flysystem/tests/SprykerTest/Service/Flysystem/FlysystemServiceTest.php 2 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -571,7 +571,7 @@
 block discarded – undo
571 571
     }
572 572
 
573 573
     /**
574
-     * @return bool|string
574
+     * @return false|string
575 575
      */
576 576
     protected function getDocumentFileContent()
577 577
     {
Please login to merge, or discard this patch.
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -63,13 +63,13 @@
 block discarded – undo
63 63
         $this->testDataFileSystemRootDirectory = Configuration::dataDir() . static::ROOT_DIRECTORY;
64 64
 
65 65
         $container = new Container();
66
-        $container[FlysystemDependencyProvider::PLUGIN_COLLECTION_FILESYSTEM_BUILDER] = function (Container $container) {
66
+        $container[FlysystemDependencyProvider::PLUGIN_COLLECTION_FILESYSTEM_BUILDER] = function(Container $container) {
67 67
             return [
68 68
                 new LocalFilesystemBuilderPlugin()
69 69
             ];
70 70
         };
71 71
 
72
-        $container[FlysystemDependencyProvider::PLUGIN_COLLECTION_FLYSYSTEM] = function (Container $container) {
72
+        $container[FlysystemDependencyProvider::PLUGIN_COLLECTION_FLYSYSTEM] = function(Container $container) {
73 73
             return [];
74 74
         };
75 75
 
Please login to merge, or discard this patch.
Glossary/src/Spryker/Zed/Glossary/Communication/Table/TranslationTable.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -154,7 +154,7 @@
 block discarded – undo
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
     {
Please login to merge, or discard this patch.
Glossary/src/Spryker/Zed/Glossary/Persistence/GlossaryQueryContainer.php 2 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -99,7 +99,7 @@
 block discarded – undo
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
     {
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -310,7 +310,7 @@
 block discarded – undo
310 310
          *
311 311
          * @return string
312 312
          */
313
-        $quoteFunction = function ($value) {
313
+        $quoteFunction = function($value) {
314 314
             return "'$value'";
315 315
         };
316 316
 
Please login to merge, or discard this patch.
Bundles/Gui/src/Spryker/Zed/Gui/Communication/Table/AbstractTable.php 2 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -394,7 +394,7 @@
 block discarded – undo
394 394
     }
395 395
 
396 396
     /**
397
-     * @return mixed
397
+     * @return integer|null
398 398
      */
399 399
     public function getOffset()
400 400
     {
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -237,7 +237,7 @@
 block discarded – undo
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
             }
Please login to merge, or discard this patch.
Yves/Kernel/ClassResolver/DependencyInjector/DependencyInjectorResolver.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -51,7 +51,7 @@
 block discarded – undo
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
     {
Please login to merge, or discard this patch.
Zed/Kernel/ClassResolver/DependencyInjector/DependencyInjectorResolver.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -51,7 +51,7 @@
 block discarded – undo
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
     {
Please login to merge, or discard this patch.
Bundles/Kernel/src/Spryker/Zed/Kernel/Communication/Console/Console.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -249,7 +249,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
Please login to merge, or discard this patch.
tests/SprykerTest/Client/Kernel/ClassResolver/AbstractResolverTest.php 2 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -75,7 +75,7 @@
 block discarded – undo
75 75
     }
76 76
 
77 77
     /**
78
-     * @param array $methods
78
+     * @param string[] $methods
79 79
      *
80 80
      * @return \PHPUnit_Framework_MockObject_MockObject|\Spryker\Shared\Kernel\ClassResolver\AbstractClassResolver
81 81
      */
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -150,7 +150,7 @@
 block discarded – undo
150 150
             $this->getBasePath(),
151 151
             implode(DIRECTORY_SEPARATOR, $classNameParts),
152 152
         ];
153
-        $directory = implode(DIRECTORY_SEPARATOR,  $directoryParts);
153
+        $directory = implode(DIRECTORY_SEPARATOR, $directoryParts);
154 154
 
155 155
         if (!is_dir($directory)) {
156 156
             mkdir($directory, 0775, true);
Please login to merge, or discard this patch.