Defeated Corrupted Toshi.
A Leader Walks Alone – Kena: Bridge of Spirits
Defeated Corrupted Toshi.
love a good story
Defeated Corrupted Toshi.
Defeated Corrupted Toshi.
Complete 10 Stranger mission strands.
Complete 10 Stranger mission strands.
Experience a new cycle after death
Experience a new cycle after death
Found Toshi’s Incense Relic.
Found Toshi’s Incense Relic.
Found Toshi’s Harpoon Relic.
Found Toshi’s Harpoon Relic.
Found Toshi’s Village Crest Relic.
Found Toshi’s Village Crest Relic.
Learned the Dash Ability.
Learned the Dash Ability.
Defeated the Corrupted Woodsmith.
Defeated the Corrupted Woodsmith.
Found Adira’s Village Heart Relic.
Found Adira’s Village Heart Relic.
Fall inside the city.
Fall inside the city.
The Internet Archive / Wayback Machine (http://web.archive.org/) is absolutely incredible. It has saved most of my old posts and pages. Been spending a week or so rescuing those posts and bringing them back.
Was nice to finally meet most of the jump24 crew in the flesh last night. Even if I did come second to last in bowling. 😅 @jumptwenty4
Bowling with work mates.
What happened to the old library in Birmingham?
When running psalm in a Laravel project, I get the following error by default:
PossiblyNullArgument - app/Providers/RouteServiceProvider.php:45:46 -
Argument 1 of Illuminate\Cache\RateLimiting\Limit::by cannot be null,
possibly null value provided
This is the default implementation for configureRateLimiting
in the RouteServiceProvider
class in Laravel:
protected function configureRateLimiting()
{
RateLimiter::for('api', function (Request $request) {
return Limit::perMinute(60)->by($request->user()?->id ?: $request->ip());
});
}
I change it to the following to get psalm to pass (I’ve added named parameters and the static
keyword before the callback function):
protected function configureRateLimiting()
{
RateLimiter::for(name: 'api', callback: static function (Request $request) {
$limitIdentifier = $request->user()?->id ?: $request->ip();
if (!is_null($limitIdentifier)) {
return Limit::perMinute(maxAttempts: 60)->by(key: $limitIdentifier);
}
});
}