Loading core/lib/Drupal/Core/Database/Connection.php +3 −1 Original line number Diff line number Diff line Loading @@ -521,11 +521,13 @@ public function prepareStatement(string $query, array $options, bool $allow_row_ try { $query = $this->preprocessStatement($query, $options); return new $this->statementWrapperClass($this, $this->connection, $query, $options['pdo'] ?? [], $allow_row_count); $statement = new $this->statementWrapperClass($this, $this->connection, $query, $options['pdo'] ?? [], $allow_row_count); } catch (\Exception $e) { $this->exceptionHandler()->handleStatementException($e, $query, $options); } return $statement; } /** 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 Loading
core/lib/Drupal/Core/Database/Connection.php +3 −1 Original line number Diff line number Diff line Loading @@ -521,11 +521,13 @@ public function prepareStatement(string $query, array $options, bool $allow_row_ try { $query = $this->preprocessStatement($query, $options); return new $this->statementWrapperClass($this, $this->connection, $query, $options['pdo'] ?? [], $allow_row_count); $statement = new $this->statementWrapperClass($this, $this->connection, $query, $options['pdo'] ?? [], $allow_row_count); } catch (\Exception $e) { $this->exceptionHandler()->handleStatementException($e, $query, $options); } return $statement; } /** 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