Skip to content

Commit f9d8493

Browse files
authored
Merge pull request #430 from mglaman/gh428
Add missing stub dependency stubs
2 parents b3dac21 + e984877 commit f9d8493

File tree

7 files changed

+41
-0
lines changed

7 files changed

+41
-0
lines changed
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
<?php
2+
3+
namespace Drupal\Core\Access;
4+
5+
interface AccessResultInterface {
6+
}
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
<?php
2+
3+
namespace Drupal\Core\Entity;
4+
5+
interface EntityTypeInterface {
6+
7+
}

stubs/Drupal/Core/Entity/FieldableEntityInterface.stub

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ interface FieldableEntityInterface extends EntityInterface {
1010
public static function baseFieldDefinitions(EntityTypeInterface $entity_type): array;
1111

1212
/**
13+
* @param array<string, \Drupal\Core\Field\FieldDefinitionInterface> $base_field_definitions
1314
* @return array<string, \Drupal\Core\Field\FieldDefinitionInterface>
1415
*/
1516
public static function bundleFieldDefinitions(EntityTypeInterface $entity_type, string $bundle, array $base_field_definitions): array;
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
<?php
2+
3+
namespace Drupal\Core\Field;
4+
5+
interface FieldDefinitionInterface {
6+
7+
}
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
<?php
2+
3+
namespace Drupal\Core\Field;
4+
5+
interface FieldItemListInterface {
6+
7+
}
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
<?php
2+
3+
namespace Drupal\Core\Session;
4+
5+
interface AccountInterface {
6+
}

stubs/Twig/Environment.stub

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
<?php
2+
3+
namespace Twig;
4+
5+
class Environment
6+
{
7+
}

0 commit comments

Comments
 (0)