| @@ -328,7 +328,7 @@ discard block | ||
| 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 | ||
| 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 |      { | 
| @@ -86,8 +86,8 @@ | ||
| 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 |