Skip to content

Commit

Permalink
row filter function's inferred type
Browse files Browse the repository at this point in the history
  • Loading branch information
Elisée Chemin committed Nov 18, 2024
1 parent ed55627 commit dc19c65
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion htdocs/resource/element_resource.php
Original file line number Diff line number Diff line change
Expand Up @@ -203,7 +203,7 @@

// removing the rows associated with our action id
$ac_id = (int) $object->element_id;
$busyResources = array_filter($_busyResources, function ($row) : bool {
$busyResources = array_filter($_busyResources, function (Dolresource $row) : bool {
global $ac_id;
return $row->ac_id != $ac_id;

Check warning on line 208 in htdocs/resource/element_resource.php

View workflow job for this annotation

GitHub Actions / phan / Run phan

element_resource.php: PhanUndeclaredProperty: Reference to undeclared property \Dolresource->ac_id (Did you mean $ac_id)
});
Expand Down

0 comments on commit dc19c65

Please sign in to comment.