Skip to content

Commit

Permalink
Remove type-hint patches for vendor packages
Browse files Browse the repository at this point in the history
  • Loading branch information
kberzinch committed Jan 6, 2025
1 parent f2479fe commit d5bea0c
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -140,10 +140,7 @@
"Illuminate\\Foundation\\ComposerScripts::postAutoloadDump",
"@php artisan package:discover --ansi",
"sed -i 's/getHtmlBody/getTextBody/' vendor/xammie/mailbook/src/Data/ResolvedMail.php",
"sed -i \"s/return \\$html;/return \\'<pre>\\'.\\$html.\\'<\\/pre>\\';/\" vendor/xammie/mailbook/src/Data/ResolvedMail.php",
"sed -i 's/@template/@nothing/' vendor/laravel/nova/src/PerformsValidation.php",
"sed -i 's/protected function fillAttributeFromRequest(NovaRequest $request, $requestAttribute, $model, $attribute)/protected function fillAttributeFromRequest(NovaRequest $request, string $requestAttribute, object $model, string $attribute): void/' vendor/kiritokatklian/nova-permission/src/PermissionBooleanGroup.php",
"sed -i 's/protected function fillAttributeFromRequest(NovaRequest $request, $requestAttribute, $model, $attribute)/protected function fillAttributeFromRequest(NovaRequest $request, string $requestAttribute, object $model, string $attribute): void/' vendor/kiritokatklian/nova-permission/src/RoleBooleanGroup.php"
"sed -i \"s/return \\$html;/return \\'<pre>\\'.\\$html.\\'<\\/pre>\\';/\" vendor/xammie/mailbook/src/Data/ResolvedMail.php"
],
"post-update-cmd": [
"Illuminate\\Foundation\\ComposerScripts::postUpdate",
Expand Down

0 comments on commit d5bea0c

Please sign in to comment.