aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Model/Declaration.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/Model/Declaration.php b/Model/Declaration.php
index 2e1abf9..1839f0d 100644
--- a/Model/Declaration.php
+++ b/Model/Declaration.php
@@ -167,7 +167,8 @@ abstract class Declaration
function ( ) use ( $variable ) {
return $variable->getName();
- }
+ },
+ $this
);
}