File tree Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Original file line number Diff line number Diff line change 3333assert (null === $ magicMethod ->callUndefinedMagicMethod ());
3434
3535// __call_static
36- assert ("Hello from static call 1 2 3 " === MagicMethod::callStaticSomeMagic (1 , 2 , 3 ));
36+ assert ("Hello from static call 6 " === MagicMethod::callStaticSomeMagic (1 , 2 , 3 ));
3737assert (null === MagicMethod::callUndefinedStaticSomeMagic ());
Original file line number Diff line number Diff line change @@ -257,9 +257,10 @@ impl MagicMethod {
257257 arguments
258258 . iter( )
259259 . filter( |( _, v) | v. is_long( ) )
260- . map( |( _, s) | s. long( ) . unwrap( ) . to_string ( ) )
260+ . map( |( _, s) | s. long( ) . unwrap( ) )
261261 . collect:: <Vec <_>>( )
262- . join( " " )
262+ . iter( )
263+ . sum:: <i64 >( )
263264 ) ;
264265
265266 let _ = zval. set_string ( & concat_args, false ) ;
You can’t perform that action at this time.
0 commit comments