mirror of
https://github.com/archtechx/tenancy.git
synced 2025-12-12 07:04:03 +00:00
globalUrl: useAssetOrigin() instead of setAssetRoot()
This change was prompted by a phpstan failure after a recent update. While making this change, I noticed we don't need the macro anymore as useAssetOrigin() was added to the UrlGenerator earlier this year, simplifying our implementation.
This commit is contained in:
parent
0cd0bc44b1
commit
45cf7029af
3 changed files with 9 additions and 19 deletions
|
|
@ -46,10 +46,6 @@ parameters:
|
|||
message: '#PHPDoc tag \@param has invalid value \(dynamic#'
|
||||
paths:
|
||||
- src/helpers.php
|
||||
-
|
||||
message: '#Illuminate\\Routing\\UrlGenerator#'
|
||||
paths:
|
||||
- src/Bootstrappers/FilesystemTenancyBootstrapper.php
|
||||
- '#Method Stancl\\Tenancy\\Tenancy::cachedResolvers\(\) should return array#'
|
||||
- '#Access to an undefined property Stancl\\Tenancy\\Middleware\\IdentificationMiddleware\:\:\$tenancy#'
|
||||
- '#Access to an undefined property Stancl\\Tenancy\\Middleware\\IdentificationMiddleware\:\:\$resolver#'
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue