We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents c94cd6c + b5bd544 commit dae58c2Copy full SHA for dae58c2
Library/Phalcon/Test/Traits/UnitTestCase.php
@@ -174,13 +174,11 @@ public function getConfig()
174
*
175
* @see Injectable::setDI
176
* @param DiInterface $di
177
- * @return $this
+ * @return void
178
*/
179
- public function setDI(DiInterface $di)
+ public function setDI(DiInterface $di) : void
180
{
181
$this->di = $di;
182
-
183
- return $this;
184
}
185
186
/**
@@ -189,7 +187,7 @@ public function setDI(DiInterface $di)
189
187
* @see Injectable::getDI
190
188
* @return DiInterface
191
192
- public function getDI()
+ public function getDI() : DiInterface
193
194
if (!$this->di instanceof DiInterface) {
195
return Di::getDefault();
0 commit comments