Completed
Push — pac-264--pdo-exception ( 279fe6...482215 )
by Tim
09:38
created
src/Repositories/ProductRepository.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -119,7 +119,7 @@
 block discarded – undo
119 119
     /**
120 120
      * Return's the available products.
121 121
      *
122
-     * @return array The available products
122
+     * @return \Generator The available products
123 123
      */
124 124
     public function findAll()
125 125
     {
Please login to merge, or discard this patch.
RoboFile.php 1 patch
Unused Use Statements   -4 removed lines patch added patch discarded remove patch
@@ -18,10 +18,6 @@
 block discarded – undo
18 18
  * @link      http://www.techdivision.com
19 19
  */
20 20
 
21
-use Lurker\Event\FilesystemEvent;
22
-
23
-use Symfony\Component\Finder\Finder;
24
-
25 21
 /**
26 22
  * Defines the available build tasks.
27 23
  *
Please login to merge, or discard this patch.
src/Services/ProductBunchProcessor.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -362,7 +362,7 @@  discard block
 block discarded – undo
362 362
      * Commits a transaction, returning the database connection to autocommit mode until the next call to
363 363
      * ProductProcessor::beginTransaction() starts a new transaction.
364 364
      *
365
-     * @return boolean Returns TRUE on success or FALSE on failure
365
+     * @return boolean|null Returns TRUE on success or FALSE on failure
366 366
      * @link http://php.net/manual/en/pdo.commit.php
367 367
      */
368 368
     public function commit()
@@ -937,7 +937,7 @@  discard block
 block discarded – undo
937 937
      * @param string $entityTypeCode The entity type code to return the raw entity for
938 938
      * @param array  $data           An array with data that will be used to initialize the raw entity with
939 939
      *
940
-     * @return array The initialized entity
940
+     * @return \ArrayAccess The initialized entity
941 941
      */
942 942
     public function loadRawEntity($entityTypeCode, array $data = array())
943 943
     {
Please login to merge, or discard this patch.
src/Observers/UrlKeyObserver.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -333,7 +333,7 @@
 block discarded – undo
333 333
      * @param \TechDivision\Import\Subjects\UrlKeyAwareSubjectInterface $subject  The subject to make the URL key unique for
334 334
      * @param array                                                     $entity   The entity to make the URL key unique for
335 335
      * @param string                                                    $urlKey   The URL key to make unique
336
-     * @param array                                                     $urlPaths The URL paths to make unique
336
+     * @param string[]                                                     $urlPaths The URL paths to make unique
337 337
      *
338 338
      * @return string The unique URL key
339 339
      */
Please login to merge, or discard this patch.
src/Repositories/CategoryProductRepository.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -92,7 +92,7 @@
 block discarded – undo
92 92
      *
93 93
      * @param string $sku The product SKU to load the category relations for
94 94
      *
95
-     * @return array The category product relations for the product with the passed SKU
95
+     * @return \Generator The category product relations for the product with the passed SKU
96 96
      */
97 97
     public function findAllBySku($sku)
98 98
     {
Please login to merge, or discard this patch.
src/Repositories/ProductDatetimeRepository.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -73,7 +73,7 @@  discard block
 block discarded – undo
73 73
     /**
74 74
      * Load's and return's the available datetime attributes.
75 75
      *
76
-     * @return array The integer attributes
76
+     * @return \Generator The integer attributes
77 77
      */
78 78
     public function findAll()
79 79
     {
@@ -88,7 +88,7 @@  discard block
 block discarded – undo
88 88
      * @param integer $pk      The primary key of the attributes
89 89
      * @param integer $storeId The store ID of the attributes
90 90
      *
91
-     * @return array The datetime attributes
91
+     * @return \Generator The datetime attributes
92 92
      */
93 93
     public function findAllByPrimaryKeyAndStoreId($pk, $storeId)
94 94
     {
Please login to merge, or discard this patch.
src/Repositories/ProductDecimalRepository.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -73,7 +73,7 @@  discard block
 block discarded – undo
73 73
     /**
74 74
      * Load's and return's the available decimals attributes.
75 75
      *
76
-     * @return array The decimal attributes
76
+     * @return \Generator The decimal attributes
77 77
      */
78 78
     public function findAll()
79 79
     {
@@ -88,7 +88,7 @@  discard block
 block discarded – undo
88 88
      * @param integer $pk      The primary key of the attributes
89 89
      * @param integer $storeId The store ID of the attributes
90 90
      *
91
-     * @return array The decimal attributes
91
+     * @return \Generator The decimal attributes
92 92
      */
93 93
     public function findAllByPrimaryKeyAndStoreId($pk, $storeId)
94 94
     {
Please login to merge, or discard this patch.
src/Repositories/ProductIntRepository.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -73,7 +73,7 @@  discard block
 block discarded – undo
73 73
     /**
74 74
      * Load's and return's the available integer attributes.
75 75
      *
76
-     * @return array The integer attributes
76
+     * @return \Generator The integer attributes
77 77
      */
78 78
     public function findAll()
79 79
     {
@@ -88,7 +88,7 @@  discard block
 block discarded – undo
88 88
      * @param integer $pk      The primary key of the attributes
89 89
      * @param integer $storeId The store ID of the attributes
90 90
      *
91
-     * @return array The text attributes
91
+     * @return \Generator The text attributes
92 92
      */
93 93
     public function findAllByPrimaryKeyAndStoreId($pk, $storeId)
94 94
     {
Please login to merge, or discard this patch.
src/Repositories/ProductTextRepository.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -73,7 +73,7 @@  discard block
 block discarded – undo
73 73
     /**
74 74
      * Load's and return's the available text attributes.
75 75
      *
76
-     * @return array The text attributes
76
+     * @return \Generator The text attributes
77 77
      */
78 78
     public function findAll()
79 79
     {
@@ -88,7 +88,7 @@  discard block
 block discarded – undo
88 88
      * @param integer $pk      The primary key of the attributes
89 89
      * @param integer $storeId The store ID of the attributes
90 90
      *
91
-     * @return array The text attributes
91
+     * @return \Generator The text attributes
92 92
      */
93 93
     public function findAllByPrimaryKeyAndStoreId($pk, $storeId)
94 94
     {
Please login to merge, or discard this patch.