Skip to content
Snippets Groups Projects
Verified Commit 85eeb1bd authored by Dave Long's avatar Dave Long
Browse files

Issue #3324801 by Spokje, mondrake: Fix PHPStan L2 error "Property Foo::$bar...

Issue #3324801 by Spokje, mondrake: Fix PHPStan L2 error "Property Foo::$bar has unknown class Baz as its type."
parent 05569f33
No related branches found
No related tags found
34 merge requests!7452Issue #1797438. HTML5 validation is preventing form submit and not fully...,!54479.5.x SF update,!5014Issue #3071143: Table Render Array Example Is Incorrect,!4868Issue #1428520: Improve menu parent link selection,!4289Issue #1344552 by marcingy, Niklas Fiekas, Ravi.J, aleevas, Eduardo Morales...,!4114Issue #2707291: Disable body-level scrolling when a dialog is open as a modal,!4100Issue #3249600: Add support for PHP 8.1 Enums as allowed values for list_* data types,!3630Issue #2815301 by Chi, DanielVeza, kostyashupenko, smustgrave: Allow to create...,!3600Issue #3344629: Passing null to parameter #1 ($haystack) of type string is deprecated,!3291Issue #3336463: Rewrite rules for gzipped CSS and JavaScript aggregates never match,!3102Issue #3164428 by DonAtt, longwave, sahil.goyal, Anchal_gupta, alexpott: Use...,!2378Issue #2875033: Optimize joins and table selection in SQL entity query implementation,!2334Issue #3228209: Add hasRole() method to AccountInterface,!2074Issue #2707689: NodeForm::actions() checks for delete access on new entities,!2062Issue #3246454: Add weekly granularity to views date sort,!1591Issue #3199697: Add JSON:API Translation experimental module,!1484Exposed filters get values from URL when Ajax is on,!1255Issue #3238922: Refactor (if feasible) uses of the jQuery serialize function to use vanillaJS,!1162Issue #3100350: Unable to save '/' root path alias,!1105Issue #3025039: New non translatable field on translatable content throws error,!1073issue #3191727: Focus states on mobile second level navigation items fixed,!10223132456: Fix issue where views instances are emptied before an ajax request is complete,!957Added throwing of InvalidPluginDefinitionException from getDefinition().,!925Issue #2339235: Remove taxonomy hard dependency on node module,!877Issue #2708101: Default value for link text is not saved,!872Draft: Issue #3221319: Race condition when creating menu links and editing content deletes menu links,!844Resolve #3036010 "Updaters",!712Issue #2909128: Autocomplete intermittent on Chrome Android,!617Issue #3043725: Provide a Entity Handler for user cancelation,!579Issue #2230909: Simple decimals fail to pass validation,!560Move callback classRemove outside of the loop,!555Issue #3202493,!485Sets the autocomplete attribute for username/password input field on login form.,!30Issue #3182188: Updates composer usage to point at ./vendor/bin/composer
Showing
with 23 additions and 23 deletions
......@@ -85,7 +85,7 @@ class Config {
/**
* The root package.
*
* @var Composer\Package\RootPackageInterface
* @var \Composer\Package\RootPackageInterface
*/
protected $rootPackage;
......
......@@ -17,7 +17,7 @@ class StaticDiscoveryDecorator extends StaticDiscovery {
/**
* A callback or closure used for registering additional definitions.
*
* @var \Callable
* @var callable
*/
protected $registerDefinitions;
......
......@@ -22,7 +22,7 @@ class MimeTypeGuesser implements MimeTypeGuesserInterface {
*
* If this is NULL a rebuild will be triggered.
*
* @var \Symfony\Component\HttpFoundation\File\MimeType\MimeTypeGuesserInterface[]
* @var \Symfony\Component\Mime\MimeTypeGuesserInterface[]
*
* @see \Drupal\Core\File\MimeType\MimeTypeGuesser::addGuesser()
* @see \Drupal\Core\File\MimeType\MimeTypeGuesser::sortGuessers()
......
......@@ -10,7 +10,7 @@ class LazyRouteCollection extends RouteCollection {
/**
* The route provider for this generator.
*
* @var \Symfony\Component\Routing\RouteProviderInterface
* @var \Drupal\Core\Routing\RouteProviderInterface
*/
protected $provider;
......
......@@ -42,7 +42,7 @@ trait FunctionalTestSetupTrait {
/**
* The class loader to use for installation and initialization of setup.
*
* @var \Symfony\Component\Classloader\Classloader
* @var \Composer\Autoload\ClassLoader
*/
protected $classLoader;
......
......@@ -27,7 +27,7 @@ class Language extends TypedData {
protected $id;
/**
* @var \Drupal\Core\Language
* @var \Drupal\Core\Language\Language
*/
protected $language;
......
......@@ -25,7 +25,7 @@ class BlockViewBuilderTest extends KernelTestBase {
/**
* The block being tested.
*
* @var \Drupal\block\Entity\BlockInterface
* @var \Drupal\block\BlockInterface
*/
protected $block;
......
......@@ -18,7 +18,7 @@ abstract class BlockContentTypeResourceTestBase extends ConfigEntityResourceTest
protected static $entityTypeId = 'block_content_type';
/**
* @var \Drupal\block_content\Entity\BlockContentTypeInterface
* @var \Drupal\block_content\BlockContentTypeInterface
*/
protected $entity;
......
......@@ -52,7 +52,7 @@ class CommentController extends ControllerBase {
/**
* The entity repository.
*
* @var Drupal\Core\Entity\EntityRepositoryInterface
* @var \Drupal\Core\Entity\EntityRepositoryInterface
*/
protected $entityRepository;
......
......@@ -61,7 +61,7 @@ class DefaultViewRecentCommentsTest extends ViewTestBase {
/**
* Contains the node object used for comments of this test.
*
* @var \Drupal\node\Node
* @var \Drupal\node\NodeInterface
*/
public $node;
......
......@@ -15,7 +15,7 @@ class CommentStatisticsUnitTest extends UnitTestCase {
/**
* Mock statement.
*
* @var \Drupal\Core\Database\Statement
* @var \Drupal\Core\Database\StatementInterface
*/
protected $statement;
......
......@@ -28,7 +28,7 @@ class SqlContentEntityStorageSchemaColumnTest extends KernelTestBase {
/**
* The created entity.
*
* @var \Drupal\Core\Entity\Entity
* @var \Drupal\Core\Entity\EntityInterface
*/
protected $entity;
......
......@@ -21,7 +21,7 @@ class NodeRevisionsAllTest extends NodeTestBase {
/**
* A list of nodes created to be used as starting point of different tests.
*
* @var Drupal\node\NodeInterface[]
* @var \Drupal\node\NodeInterface[]
*/
protected $nodes;
......
......@@ -33,7 +33,7 @@ class PathPluginTest extends NodeTestBase {
/**
* Contains all nodes used by this test.
*
* @var Node[]
* @var \Drupal\node\Entity\Node[]
*/
protected $nodes;
......
......@@ -22,7 +22,7 @@ abstract class OptionsDynamicValuesTestBase extends FieldTestBase {
/**
* The created entity.
*
* @var \Drupal\Core\Entity\Entity
* @var \Drupal\Core\Entity\EntityInterface
*/
protected $entity;
......
......@@ -110,7 +110,7 @@ class SearchQuery extends SelectExtender {
* This is always used for the second step in the query, but is not part of
* the preparation step unless $this->simple is FALSE.
*
* @var Drupal\Core\Database\Query\ConditionInterface[]
* @var \Drupal\Core\Database\Query\ConditionInterface[]
*/
protected $conditions;
......
......@@ -47,7 +47,7 @@ class EntityFilteringThemeTest extends BrowserTestBase {
/**
* A test user.
*
* @var \Drupal\user\User
* @var \Drupal\user\Entity\User
*/
protected $user;
......@@ -55,7 +55,7 @@ class EntityFilteringThemeTest extends BrowserTestBase {
/**
* A test node.
*
* @var \Drupal\node\Node
* @var \Drupal\node\Entity\Node
*/
protected $node;
......@@ -63,7 +63,7 @@ class EntityFilteringThemeTest extends BrowserTestBase {
/**
* A test taxonomy term.
*
* @var \Drupal\taxonomy\Term
* @var \Drupal\taxonomy\Entity\Term
*/
protected $term;
......@@ -71,7 +71,7 @@ class EntityFilteringThemeTest extends BrowserTestBase {
/**
* A test comment.
*
* @var \Drupal\comment\Comment
* @var \Drupal\comment\Entity\Comment
*/
protected $comment;
......
......@@ -31,7 +31,7 @@ class UserPasswordResetTest extends BrowserTestBase {
/**
* Language manager object.
*
* @var \Drupal\language\LanguageManagerInterface
* @var \Drupal\Core\Language\LanguageManagerInterface
*/
protected $languageManager;
......
......@@ -39,7 +39,7 @@ class UserRoleConditionTest extends KernelTestBase {
/**
* A custom role for testing purposes.
*
* @var \Drupal\user\Entity\RoleInterface
* @var \Drupal\user\RoleInterface
*/
protected $role;
......
......@@ -21,7 +21,7 @@ class WhosOnlineBlockTest extends KernelTestBase {
/**
* The block being tested.
*
* @var \Drupal\block\Entity\BlockInterface
* @var \Drupal\block\BlockInterface
*/
protected $block;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment