Loading core/lib/Drupal/Core/File/MimeType/MimeTypeGuesser.php +2 −0 Original line number Diff line number Diff line Loading @@ -73,6 +73,8 @@ public function guessMimeType(string $path) : ?string { return $mime_type; } } return NULL; } /** Loading core/lib/Drupal/Core/TypedData/ComputedItemListTrait.php +1 −0 Original line number Diff line number Diff line Loading @@ -118,6 +118,7 @@ public function isEmpty() { /** * {@inheritdoc} */ #[\ReturnTypeWillChange] public function offsetExists($offset) { $this->ensureComputedValue(); return parent::offsetExists($offset); Loading core/modules/comment/src/CommentFieldItemList.php +1 −0 Original line number Diff line number Diff line Loading @@ -30,6 +30,7 @@ public function get($index) { /** * {@inheritdoc} */ #[\ReturnTypeWillChange] public function offsetExists($offset) { // For consistency with what happens in get(), we force offsetExists() to // be TRUE for delta 0. Loading core/modules/migrate/src/Plugin/migrate/source/EmbeddedDataSource.php +1 −0 Original line number Diff line number Diff line Loading @@ -113,6 +113,7 @@ public function getIds() { /** * {@inheritdoc} */ #[\ReturnTypeWillChange] public function count($refresh = FALSE) { // We do not want this source plugin to have a cacheable count. // @see \Drupal\migrate_cache_counts_test\Plugin\migrate\source\CacheableEmbeddedDataSource Loading core/modules/migrate/tests/modules/migrate_cache_counts_test/src/Plugin/migrate/source/CacheableEmbeddedDataSource.php +1 −0 Original line number Diff line number Diff line Loading @@ -18,6 +18,7 @@ class CacheableEmbeddedDataSource extends EmbeddedDataSource { /** * {@inheritdoc} */ #[\ReturnTypeWillChange] public function count($refresh = FALSE) { return SourcePluginBase::count($refresh); } Loading Loading
core/lib/Drupal/Core/File/MimeType/MimeTypeGuesser.php +2 −0 Original line number Diff line number Diff line Loading @@ -73,6 +73,8 @@ public function guessMimeType(string $path) : ?string { return $mime_type; } } return NULL; } /** Loading
core/lib/Drupal/Core/TypedData/ComputedItemListTrait.php +1 −0 Original line number Diff line number Diff line Loading @@ -118,6 +118,7 @@ public function isEmpty() { /** * {@inheritdoc} */ #[\ReturnTypeWillChange] public function offsetExists($offset) { $this->ensureComputedValue(); return parent::offsetExists($offset); Loading
core/modules/comment/src/CommentFieldItemList.php +1 −0 Original line number Diff line number Diff line Loading @@ -30,6 +30,7 @@ public function get($index) { /** * {@inheritdoc} */ #[\ReturnTypeWillChange] public function offsetExists($offset) { // For consistency with what happens in get(), we force offsetExists() to // be TRUE for delta 0. Loading
core/modules/migrate/src/Plugin/migrate/source/EmbeddedDataSource.php +1 −0 Original line number Diff line number Diff line Loading @@ -113,6 +113,7 @@ public function getIds() { /** * {@inheritdoc} */ #[\ReturnTypeWillChange] public function count($refresh = FALSE) { // We do not want this source plugin to have a cacheable count. // @see \Drupal\migrate_cache_counts_test\Plugin\migrate\source\CacheableEmbeddedDataSource Loading
core/modules/migrate/tests/modules/migrate_cache_counts_test/src/Plugin/migrate/source/CacheableEmbeddedDataSource.php +1 −0 Original line number Diff line number Diff line Loading @@ -18,6 +18,7 @@ class CacheableEmbeddedDataSource extends EmbeddedDataSource { /** * {@inheritdoc} */ #[\ReturnTypeWillChange] public function count($refresh = FALSE) { return SourcePluginBase::count($refresh); } Loading