Sebastian Hädrich
Sebastian Hädrich
As you can see, when being in diff mode, both "stage line(s)" and "add comment" buttons are represented by a plus button. This can be confusing and lead to frustration...
### Description  When we look at the [forks view](https://github.com/github/explore/forks?include=active&page=1&period=2y&sort_by=last_updated) of [`github/explore`](https://github.com/github/explore), sorted by "recently updated", we immediately see, that we actually don't see that many useful information. * **Pull...
# Before ```php if (in_array(MassPrunable::class, class_uses_recursive($myClass))) { // … } ``` # After ```php if ($myClass::isSoftDeletable()) { // … } ``` # Alternatives * Property hook
# Why can't we just use `array_diff()`? In most cases, you absolutely can. But there's one case where the function fails: When the arrays contain array values. This can be...
Enums are a powerful addition to the PHP language and with the `enum_value()` helper, working with them in Laravel is like a charm. This PR adds the ability to pass...
Follow-up to #54734 resp. #54443 Based on comments https://github.com/laravel/framework/pull/54734#issuecomment-2672501873 and https://github.com/laravel/framework/pull/54443#issuecomment-2644726839 You can then do ```php User::query([PDO::FETCH_UNIQUE])->select(['id','users.*'])->get(); ``` without an additional call to `fetchUsing()` As bert-w has pointed out, this...
Looks something like this in the IDE: 
**Describe the bug** When using [IETF BCP 47 language tags](https://en.wikipedia.org/wiki/IETF_language_tag) instead of just [ISO 639-1 language codes](https://en.wikipedia.org/wiki/ISO_639-1), the default language code translation file should be determined from the IETF BCP...