mirror of
https://github.com/flarum/core.git
synced 2025-07-25 10:41:24 +02:00
chore(deps): bump glob-parent from 3.1.0 to 5.1.2 in /extensions/emoji/js (#3345)
* chore(deps): bump glob-parent in /extensions/emoji/js Bumps [glob-parent](https://github.com/gulpjs/glob-parent) from 3.1.0 to 5.1.2. - [Release notes](https://github.com/gulpjs/glob-parent/releases) - [Changelog](https://github.com/gulpjs/glob-parent/blob/main/CHANGELOG.md) - [Commits](https://github.com/gulpjs/glob-parent/compare/v3.1.0...v5.1.2) --- updated-dependencies: - dependency-name: glob-parent dependency-type: indirect ... Signed-off-by: dependabot[bot] <support@github.com> * Apply fixes from StyleCI [ci skip] [skip ci] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: StyleCI Bot <bot@styleci.io>
This commit is contained in:
@@ -2,12 +2,19 @@
|
||||
|
||||
declare(strict_types=1);
|
||||
|
||||
/*
|
||||
* This file is part of Flarum.
|
||||
*
|
||||
* For detailed copyright and license information, please view the
|
||||
* LICENSE file that was distributed with this source code.
|
||||
*/
|
||||
|
||||
namespace Flarum\PHPStan\Properties;
|
||||
|
||||
use ArrayObject;
|
||||
use Flarum\PHPStan\Reflection\ReflectionHelper;
|
||||
use Illuminate\Database\Eloquent\Model;
|
||||
use Illuminate\Support\Str;
|
||||
use Flarum\PHPStan\Reflection\ReflectionHelper;
|
||||
use PHPStan\PhpDoc\TypeStringResolver;
|
||||
use PHPStan\Reflection\ClassReflection;
|
||||
use PHPStan\Reflection\PropertiesClassReflectionExtension;
|
||||
@@ -119,7 +126,8 @@ final class ModelPropertyExtension implements PropertiesClassReflectionExtension
|
||||
}
|
||||
|
||||
if (
|
||||
(! array_key_exists($tableName, $this->tables)
|
||||
(
|
||||
! array_key_exists($tableName, $this->tables)
|
||||
|| ! array_key_exists($propertyName, $this->tables[$tableName]->columns)
|
||||
)
|
||||
&& $propertyName === 'id'
|
||||
|
Reference in New Issue
Block a user