Skip to content

Commit

Permalink
no fixed return type hint
Browse files Browse the repository at this point in the history
  • Loading branch information
filecage committed Dec 2, 2021
1 parent 5371744 commit 3c1b7da
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/Creator.php
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ function __construct (ResourceRegistry $resourceRegistry = null) {
* @throws Unresolvable
* @return className
*/
function create ($className, $forceInstance = false) : object {
function create ($className, $forceInstance = false) {
return (new Creation($className, ($forceInstance) ? $this->resourceRegistry->cloneWithout($className) : $this->resourceRegistry))->create();
}

Expand Down

0 comments on commit 3c1b7da

Please sign in to comment.