Skip to content
This repository has been archived by the owner on Aug 10, 2022. It is now read-only.

Commit

Permalink
DI can be null
Browse files Browse the repository at this point in the history
  • Loading branch information
krzysztof-kabala committed Feb 17, 2017
1 parent e7f7797 commit 7ea88f2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Di/InjectionAwareTrait.php
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ trait InjectionAwareTrait
* @param \Phalcon\DiInterface $dependencyInjector
* @return $this
*/
public function setDI(\Phalcon\DiInterface $dependencyInjector)
public function setDI(\Phalcon\DiInterface $dependencyInjector = null)
{
$this->di = $dependencyInjector;

Expand Down

0 comments on commit 7ea88f2

Please sign in to comment.