Skip to content

Commit d7c16a6

Browse files
committed
Removing constructor array by reference
1 parent 32015e1 commit d7c16a6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Mapping/Mapper.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ class Mapper
2929
*
3030
* @throws MappingException
3131
*/
32-
public function __construct(array &$mappings = null)
32+
public function __construct(array $mappings = null)
3333
{
3434
if (is_array($mappings)) {
3535
foreach ($mappings as $mappedClass) {

0 commit comments

Comments
 (0)