We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 7ca395d + ec8760e commit 543d729Copy full SHA for 543d729
src/Task.php
@@ -16,7 +16,6 @@
16
use CodeIgniter\Events\Events;
17
use CodeIgniter\I18n\Time;
18
use CodeIgniter\Tasks\Exceptions\TasksException;
19
-use Config\Services;
20
use InvalidArgumentException;
21
use ReflectionException;
22
use ReflectionFunction;
@@ -260,7 +259,7 @@ protected function runEvent(): bool
260
259
*/
261
protected function runUrl()
262
{
263
- $response = Services::curlrequest()->request('GET', $this->getAction());
+ $response = service('curlrequest')->request('GET', $this->getAction());
264
265
return $response->getBody();
266
}
0 commit comments