File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
src/Framework/MockObject/Generator Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -226,13 +226,13 @@ public function generateCode(): string
226
226
'arguments_call ' => $ this ->argumentsForCall ,
227
227
'return_declaration ' => !empty ($ this ->returnType ->asString ()) ? (': ' . $ this ->returnType ->asString ()) : '' ,
228
228
'return_type ' => $ this ->returnType ->asString (),
229
- 'arguments_count ' => $ argumentsCount ,
229
+ 'arguments_count ' => ( string ) $ argumentsCount ,
230
230
'class_name ' => $ this ->className ,
231
231
'method_name ' => $ this ->methodName ,
232
232
'modifier ' => $ this ->modifier ,
233
233
'reference ' => $ this ->reference ,
234
234
'clone_arguments ' => $ this ->cloneArguments ? 'true ' : 'false ' ,
235
- 'deprecation ' => $ deprecation ,
235
+ 'deprecation ' => $ deprecation ?? '' ,
236
236
'return_result ' => $ returnResult ,
237
237
],
238
238
);
You can’t perform that action at this time.
0 commit comments