Skip to content
Snippets Groups Projects
Commit 53fad5b5 authored by Martynas Sudintas's avatar Martynas Sudintas
Browse files

Typehinted object parameters

parent 045b3de6
No related branches found
No related tags found
No related merge requests found
......@@ -105,7 +105,7 @@ class NamedBuilderBag
return array_filter(
$this->bag,
/** @var NamedBuilderInterface $builder */
function ($builder) use ($type) {
function (NamedBuilderInterface $builder) use ($type) {
return $type === null || $builder->getType() == $type;
}
);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment