Commit 4f204a9e authored by Claudiu Cristea's avatar Claudiu Cristea
Browse files

Issue #3322922 by claudiu.cristea: PHP 7.4-8.1 portability

parent f904972e
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -41,7 +41,7 @@ class SparqlEntityNormalizer extends NormalizerBase {
  /**
   * {@inheritdoc}
   */
  public function supportsNormalization($data, string $format = NULL, array $context = []): bool {
  public function supportsNormalization($data, $format = NULL, array $context = []): bool {
    // Not an object or the format is not supported return now.
    if (!is_object($data) || !$this->checkFormat($format)) {
      return FALSE;