Marius Karstedt

Results 62 comments of Marius Karstedt

Do you mean the first or the second described error?

But the route cannot load with empty parameters. Because php `call_user_func_array` puts the parameter into the function using "named parameters" [as described here](https://php.watch/versions/8.0/named-parameters#named-params-call_user_func_array). When there are not parameters, the named...

I fixed the issues discribed above. Ther is just one left with the Resource tests. I don't know where the `$id` parameter is. I will look into it the next...

Okay, I fixed the buggs using `ReflectionFunction` and `ReflectionMethod`. I know you don't like them and I understand that, but it's the only way to validate the parameters. I added...

Sure I will try it

omg, I'm sooo dumb. Didn't thought of that and worked for so long on fixing this... Thank you, great fix! What do you mean with "checkout v4-development"? Should I change...

Ah, I reverted the changes manually^^ Everything should work now 👍🏻 You can catch the error like I did by catching `\Error` and then check the error message for the...

But I have to say that I don't really like this solution. Let's take a look at the following example: ``` TestRouter::partialGroup( '/lang/{test}/', function ($lang = 'en') use($route1, $route2, $route3)...

> Can't find $user What do you mean? The example above will print "de" and not the data value "hallo". This is not one of your tests, just an example...

Oh, sry. The function will return, yes. How are you planning to fix this without `Reflection`? We want to use data from the group in our request callback, but you...