Skip to content

Commit 4f7ec80

Browse files
committed
Renamed Mapping::createMap() -> createMapping().
1 parent 1db592c commit 4f7ec80

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

src/Mapper/AnonymousMapping.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ public function __construct(array $definition)
1212
parent::__construct();
1313
}
1414

15-
protected function createMap()
15+
protected function createMapping()
1616
{
1717
return $this->definition;
1818
}

src/Mapper/Mapping.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,13 +11,13 @@ abstract class Mapping extends \ArrayObject
1111
*/
1212
public function __construct()
1313
{
14-
parent::__construct($this->createMap());
14+
parent::__construct($this->createMapping());
1515
}
1616

1717
/**
1818
* Creates a mapping of key names and mappable values.
1919
*
2020
* @return array Mapping.
2121
*/
22-
abstract protected function createMap();
22+
abstract protected function createMapping();
2323
}

0 commit comments

Comments
 (0)