Skip to content

Commit

Permalink
Removing constructor array by reference
Browse files Browse the repository at this point in the history
  • Loading branch information
nilportugues committed Aug 22, 2015
1 parent 32015e1 commit d7c16a6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Mapping/Mapper.php
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ class Mapper
*
* @throws MappingException
*/
public function __construct(array &$mappings = null)
public function __construct(array $mappings = null)
{
if (is_array($mappings)) {
foreach ($mappings as $mappedClass) {
Expand Down

0 comments on commit d7c16a6

Please sign in to comment.