Completed
Pull Request — master (#162)
by Tim
19:46 queued 09:36
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.
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.
src/Repositories/ProductVarcharRepository.php 1 patch
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -76,7 +76,7 @@  discard block
 block discarded – undo
76 76
     /**
77 77
      * Load's and return's the available varchar attributes.
78 78
      *
79
-     * @return array The varchar attributes
79
+     * @return \Generator The varchar attributes
80 80
      */
81 81
     public function findAll()
82 82
     {
@@ -93,7 +93,7 @@  discard block
 block discarded – undo
93 93
      * @param integer $pk      The primary key of the attributes
94 94
      * @param integer $storeId The store ID of the attributes
95 95
      *
96
-     * @return array The varchar attributes
96
+     * @return \Generator The varchar attributes
97 97
      */
98 98
     public function findAllByPrimaryKeyAndStoreId($pk, $storeId)
99 99
     {
@@ -114,7 +114,7 @@  discard block
 block discarded – undo
114 114
      * @param integer $entityTypeId  The entity type ID of the varchar attribute
115 115
      * @param integer $storeId       The store ID of the varchar attribute
116 116
      *
117
-     * @return array The varchar attributes
117
+     * @return \Generator The varchar attributes
118 118
      */
119 119
     public function findAllByAttributeCodeAndEntityTypeIdAndStoreId($attributeCode, $entityTypeId, $storeId)
120 120
     {
Please login to merge, or discard this patch.