Skip to content

Commit

Permalink
FIX Respect strict-typing of Factory interface (#455)
Browse files Browse the repository at this point in the history
  • Loading branch information
GuySartorelli authored Jul 12, 2024
1 parent 38c3775 commit 3d231a7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Caching/ProxyCacheFactory.php
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ class ProxyCacheFactory extends DefaultCacheFactory
*/
protected $containerClass = null;

public function create($service, array $args = [])
public function create(string $service, array $args = []): CacheInterface
{
$backend = parent::create($service, $args);

Expand Down

0 comments on commit 3d231a7

Please sign in to comment.