Skip to content

Commit

Permalink
Update callable.xml (#2020)
Browse files Browse the repository at this point in the history
fix typo
  • Loading branch information
MeNearly authored Jan 28, 2025
1 parent f3cc899 commit aa63937
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion language/types/callable.xml
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ class B extends A {
}
call_user_func(array('B', 'parent::who')); // A, obsoléte à partir de PHP 8.2.0
// Type 6 : Les objets implémentent __invoke peuvent être utilisés comme callables
// Type 6 : Les objets implémentant __invoke peuvent être utilisés comme callables
class C {
public function __invoke($name) {
echo 'Hello ', $name, "\n";
Expand Down

0 comments on commit aa63937

Please sign in to comment.