Skip to content

Commit

Permalink
fix CS
Browse files Browse the repository at this point in the history
  • Loading branch information
juliangut committed Oct 20, 2018
1 parent 92809eb commit 7c31c3f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@
},
"extra": {
"hooks": {
"pre-commit": "composer qa && composer test-phpunit"
"pre-commit": "composer lint && composer qa && composer test-phpunit"
}
}
}
4 changes: 2 additions & 2 deletions src/ContainerTrait.php
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ trait ContainerTrait
public function get($name)
{
try {
return strpos($name, '.') === false
return \strpos($name, '.') === false
? parent::get($name)
: $this->getRecursive($name);
} catch (NotFoundException $exception) {
Expand All @@ -64,7 +64,7 @@ public function get($name)
*/
public function has($name)
{
if (strpos($name, '.') === false) {
if (\strpos($name, '.') === false) {
return parent::has($name);
}

Expand Down

0 comments on commit 7c31c3f

Please sign in to comment.