Completed
Pull Request — master (#44)
by Tim
08:10
created
src/Plugins/ChildrenCountPlugin.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -142,7 +142,7 @@
 block discarded – undo
142 142
     /**
143 143
      * Return's the configured processor instance.
144 144
      *
145
-     * @return object The processor instance
145
+     * @return CategoryProcessorInterface The processor instance
146 146
      * @throws \Exception Is thrown, if no processor factory has been configured
147 147
      */
148 148
     protected function getProcessor()
Please login to merge, or discard this patch.
src/Subjects/AbstractCategorySubject.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -300,7 +300,7 @@
 block discarded – undo
300 300
 
301 301
         // load the global data we've prepared initially
302 302
         $this->taxClasses = $status[RegistryKeys::GLOBAL_DATA][RegistryKeys::TAX_CLASSES];
303
-        $this->storeWebsites =  $status[RegistryKeys::GLOBAL_DATA][RegistryKeys::STORE_WEBSITES];
303
+        $this->storeWebsites = $status[RegistryKeys::GLOBAL_DATA][RegistryKeys::STORE_WEBSITES];
304 304
 
305 305
         // load the available categories
306 306
         $this->categories = $this->getCategoryBunchProcessor()->getCategoriesWithResolvedPath();
Please login to merge, or discard this patch.
src/Services/CategoryBunchProcessor.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -279,7 +279,7 @@  discard block
 block discarded – undo
279 279
      * Commits a transaction, returning the database connection to autocommit mode until the next call to
280 280
      * ProductProcessor::beginTransaction() starts a new transaction.
281 281
      *
282
-     * @return boolean Returns TRUE on success or FALSE on failure
282
+     * @return boolean|null Returns TRUE on success or FALSE on failure
283 283
      * @link http://php.net/manual/en/pdo.commit.php
284 284
      */
285 285
     public function commit()
@@ -767,7 +767,7 @@  discard block
 block discarded – undo
767 767
      *
768 768
      * @param string $path The path of the category to count the children for
769 769
      *
770
-     * @return integer The children count of the category with the passed path
770
+     * @return string The children count of the category with the passed path
771 771
      */
772 772
     public function loadCategoryChildrenChildrenCount($path)
773 773
     {
Please login to merge, or discard this patch.
src/Observers/ClearImageObserver.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -116,7 +116,7 @@
 block discarded – undo
116 116
      *
117 117
      * @param string $attributeCode The attribute code
118 118
      *
119
-     * @return array The array with the EAV attribute
119
+     * @return integer The array with the EAV attribute
120 120
      * @throws \Exception Is thrown if the attribute with the passed code is not available
121 121
      */
122 122
     protected function getEavAttributeByAttributeCode($attributeCode)
Please login to merge, or discard this patch.