File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -140,22 +140,22 @@ protected function pPHPStan_Node_BooleanAndNode(BooleanAndNode $expr): string //
140140
141141 protected function pPHPStan_Node_FunctionCallableNode (FunctionCallableNode $ expr ): string // phpcs:ignore
142142 {
143- return $ this ->p ($ expr ->getOriginalNode ());
143+ return sprintf ( ' __phpstanFunctionCallable(%s) ' , $ this ->p ($ expr ->getOriginalNode () ));
144144 }
145145
146146 protected function pPHPStan_Node_MethodCallableNode (MethodCallableNode $ expr ): string // phpcs:ignore
147147 {
148- return $ this ->p ($ expr ->getOriginalNode ());
148+ return sprintf ( ' __phpstanMethodCallable(%s) ' , $ this ->p ($ expr ->getOriginalNode () ));
149149 }
150150
151151 protected function pPHPStan_Node_StaticMethodCallableNode (StaticMethodCallableNode $ expr ): string // phpcs:ignore
152152 {
153- return $ this ->p ($ expr ->getOriginalNode ());
153+ return sprintf ( ' __phpstanStaticMethodCallable(%s) ' , $ this ->p ($ expr ->getOriginalNode () ));
154154 }
155155
156156 protected function pPHPStan_Node_InstantiationCallableNode (InstantiationCallableNode $ expr ): string // phpcs:ignore
157157 {
158- return $ this ->p ($ expr ->getOriginalNode ());
158+ return sprintf ( ' __phpstanInstantiationCallable(%s) ' , $ this ->p ($ expr ->getOriginalNode () ));
159159 }
160160
161161}
You can’t perform that action at this time.
0 commit comments