mirror of
https://github.com/archtechx/laravel-seo.git
synced 2025-12-12 09:54:03 +00:00
resolve phpstan issue, restrict version constraints
This commit is contained in:
parent
5f2a6d6d0f
commit
f781ff9572
2 changed files with 3 additions and 3 deletions
|
|
@ -24,8 +24,8 @@
|
||||||
},
|
},
|
||||||
"require": {
|
"require": {
|
||||||
"php": "^8.2",
|
"php": "^8.2",
|
||||||
"illuminate/support": ">=10.0",
|
"illuminate/support": "^10.0|^11.0|^12.0",
|
||||||
"illuminate/view": ">=10.0"
|
"illuminate/view": "^10.0|^11.0|^12.0"
|
||||||
},
|
},
|
||||||
"require-dev": {
|
"require-dev": {
|
||||||
"orchestra/testbench": ">=8.0",
|
"orchestra/testbench": ">=8.0",
|
||||||
|
|
|
||||||
|
|
@ -240,7 +240,7 @@ class SEOManager
|
||||||
/** Has a specific tag been set? */
|
/** Has a specific tag been set? */
|
||||||
public function hasRawTag(string $key): bool
|
public function hasRawTag(string $key): bool
|
||||||
{
|
{
|
||||||
return isset($this->tags[$key]) && ($this->tags[$key] !== null);
|
return isset($this->tags[$key]);
|
||||||
}
|
}
|
||||||
|
|
||||||
/** Has a specific meta tag been set? */
|
/** Has a specific meta tag been set? */
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue