From 005a3f9a64c87bf633c8a654237c436e258cb743 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andreas=20M=C3=B6ller?= <am@localheinz.com>
Date: Sun, 12 Aug 2018 00:35:43 +0200
Subject: [PATCH] Fix: Docblock

---
 src/SchemaNormalizer.php                   | 7 +++----
 src/Validator/SchemaValidatorInterface.php | 4 ++--
 2 files changed, 5 insertions(+), 6 deletions(-)

diff --git a/src/SchemaNormalizer.php b/src/SchemaNormalizer.php
index 6278554a..d21d1932 100644
--- a/src/SchemaNormalizer.php
+++ b/src/SchemaNormalizer.php
@@ -98,7 +98,6 @@ public function normalize(string $json): string
             ));
         }
 
-        /** @var array|\stdClass $normalized */
         $normalized = $this->normalizeData(
             $decoded,
             $schema
@@ -115,12 +114,12 @@ public function normalize(string $json): string
     }
 
     /**
-     * @param array|bool|float|int|\stdClass|string $data
-     * @param \stdClass                             $schema
+     * @param null|array|bool|float|int|\stdClass|string $data
+     * @param \stdClass                                  $schema
      *
      * @throws \InvalidArgumentException
      *
-     * @return array|bool|float|int|\stdClass|string
+     * @return null|array|bool|float|int|\stdClass|string
      */
     private function normalizeData($data, \stdClass $schema)
     {
diff --git a/src/Validator/SchemaValidatorInterface.php b/src/Validator/SchemaValidatorInterface.php
index e9f34f12..1d240628 100644
--- a/src/Validator/SchemaValidatorInterface.php
+++ b/src/Validator/SchemaValidatorInterface.php
@@ -16,8 +16,8 @@
 interface SchemaValidatorInterface
 {
     /**
-     * @param array|\stdClass $data
-     * @param \stdClass       $schema
+     * @param null|array|bool|float|int|\stdClass|string $data
+     * @param \stdClass                                  $schema
      *
      * @return bool
      */