Completed
Push — 19.x ( bef728 )
by Tim
02:05
created
src/Services/CategoryBunchProcessor.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -328,7 +328,7 @@  discard block
 block discarded – undo
328 328
      * Commits a transaction, returning the database connection to autocommit mode until the next call to
329 329
      * ProductProcessor::beginTransaction() starts a new transaction.
330 330
      *
331
-     * @return boolean Returns TRUE on success or FALSE on failure
331
+     * @return boolean|null Returns TRUE on success or FALSE on failure
332 332
      * @link http://php.net/manual/en/pdo.commit.php
333 333
      */
334 334
     public function commit()
@@ -887,7 +887,7 @@  discard block
 block discarded – undo
887 887
      * @param string $entityTypeCode The entity type code to return the raw entity for
888 888
      * @param array  $data           An array with data that will be used to initialize the raw entity with
889 889
      *
890
-     * @return array The initialized entity
890
+     * @return \ArrayAccess The initialized entity
891 891
      */
892 892
     public function loadRawEntity($entityTypeCode, array $data = array())
893 893
     {
Please login to merge, or discard this patch.
src/Loaders/RawEntityLoader.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -86,8 +86,8 @@
 block discarded – undo
86 86
             // load the columns from the metadata
87 87
             $columns = array_filter(
88 88
                 $columnMetadataLoader->load($entityType),
89
-                function ($value) {
90
-                    return $value['Key'] !== 'PRI' && $value['Null'] === 'NO' ;
89
+                function($value) {
90
+                    return $value['Key'] !== 'PRI' && $value['Null'] === 'NO';
91 91
                 }
92 92
             );
93 93
             // initialize the raw entities and their default values, if available
Please login to merge, or discard this patch.