Skip to content

Commit

Permalink
cast to string
Browse files Browse the repository at this point in the history
  • Loading branch information
JonPurvis committed Jan 29, 2024
1 parent 8959a1e commit f4d277c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Console/Commands/MakeCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,6 @@ protected function getFormattedNamespace(): string
*/
protected function getNamespaceFromIntegrationsPath(): string
{
return str_replace(['\\App', '\\app'], '', str_replace("/", "\\", str_replace(base_path(), '', config('saloon.integrations_path'))));
return (string)str_replace(['\\App', '\\app'], '', str_replace("/", "\\", str_replace(base_path(), '', config('saloon.integrations_path'))));

Check failure on line 106 in src/Console/Commands/MakeCommand.php

View workflow job for this annotation

GitHub Actions / phpstan

Cannot cast array<int, string>|string to string.
}
}

0 comments on commit f4d277c

Please sign in to comment.