Skip to content

Commit be6342a

Browse files
authored
Merge pull request #26 from TABTyrell/master
Fix bug judgement of serviceLocator to domainModelLocator
2 parents b5f26ec + 1ace880 commit be6342a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/DomainModel/DomainModelAwareTrait.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ public function loadService($model, array $constructorArgs = [], $assignProperty
7272
*/
7373
public function getDomainModelLocator()
7474
{
75-
if (empty($this->serviceLocator)) {
75+
if (empty($this->domainModelLocator)) {
7676
$class = $this->defaultDomainModelLocator;
7777
$this->domainModelLocator = new $class();
7878
}

0 commit comments

Comments
 (0)