Skip to content

Commit

Permalink
FIX Respect strict-typing of Factory interface
Browse files Browse the repository at this point in the history
  • Loading branch information
GuySartorelli committed Jul 8, 2024
1 parent a35f91d commit ca43c20
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Model/Delete/DeletePolicyFactory.php
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ class DeletePolicyFactory implements Factory
* @param array $params The constructor parameters.
* @return DeletePolicy The created service instances.
*/
public function create($service, array $params = [])
public function create(string $service, array $params = []): DeletePolicy
{
/** @var DataObject $object */
$object = reset($params);
Expand Down

0 comments on commit ca43c20

Please sign in to comment.