Issue #3374860: Fix PHPStan errors
2 unresolved threads
Compare changes
@@ -2,9 +2,13 @@
@@ -28,9 +32,92 @@ use Drupal\views\Plugin\views\display\Block;
- Comment on lines +93 to +108Anna Demianik @AnnaDemianikContributorSuggested change
97 * @return static 98 * Returns an instance of this plugin. 99 */ 100 public static function create(ContainerInterface $container, 101 array $configuration, 102 mixed $plugin_id, 103 mixed $plugin_definition): static { 104 return new static( 105 $configuration, 106 $plugin_id, 107 $plugin_definition, 108 $container->get('entity_type.manager'), 109 $container->get('plugin.manager.block'), 110 $container->get('entity_type.bundle.info'), 111 ); 112 } 97 * @return self 98 * Returns an instance of this plugin. 99 */ 100 public static function create(ContainerInterface $container, 101 array $configuration, 102 mixed $plugin_id, 103 mixed $plugin_definition): self { 104 return new self( 105 $configuration, 106 $plugin_id, 107 $plugin_definition, 108 $container->get('entity_type.manager'), 109 $container->get('plugin.manager.block'), 110 $container->get('entity_type.bundle.info'), 111 ); 112 }
@@ -41,16 +128,16 @@ class ViewsBlockOverride extends Block {
@@ -59,8 +146,8 @@ class ViewsBlockOverride extends Block {
@@ -72,9 +159,14 @@ class ViewsBlockOverride extends Block {
@@ -105,19 +197,20 @@ class ViewsBlockOverride extends Block {
@@ -156,13 +249,13 @@ class ViewsBlockOverride extends Block {
@@ -179,7 +272,7 @@ class ViewsBlockOverride extends Block {
@@ -260,34 +353,37 @@ class ViewsBlockOverride extends Block {
@@ -311,8 +407,21 @@ class ViewsBlockOverride extends Block {
@@ -327,7 +436,7 @@ class ViewsBlockOverride extends Block {
@@ -336,9 +445,9 @@ class ViewsBlockOverride extends Block {
@@ -354,9 +463,12 @@ class ViewsBlockOverride extends Block {
@@ -389,21 +501,21 @@ class ViewsBlockOverride extends Block {