Skip to content

Commit 1896918

Browse files
committed
php5 error
1 parent 3ae6baf commit 1896918

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed

src/Adapters/Adapter.php

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -312,9 +312,7 @@ public function getProviderIconsUrls()
312312
*/
313313
public function getProviderIcons()
314314
{
315-
$fn = "{$this->imageClass}::getImagesInfo";
316-
317-
return $fn($this->getProviderIconsUrls(), $this->imageConfig, $this->imageRequests);
315+
return call_user_func("{$this->imageClass}::getImagesInfo", $this->getProviderIconsUrls(), $this->imageConfig, $this->imageRequests);
318316
}
319317

320318
/**
@@ -380,9 +378,7 @@ public function getImagesUrls()
380378
*/
381379
public function getImages()
382380
{
383-
$fn = "{$this->imageClass}::getImagesInfo";
384-
385-
return $fn($this->getImagesUrls(), $this->imageConfig, $this->imageRequests);
381+
return call_user_func("{$this->imageClass}::getImagesInfo", $this->getImagesUrls(), $this->imageConfig, $this->imageRequests);
386382
}
387383

388384
/**

0 commit comments

Comments
 (0)