| @@ -54,7 +54,7 @@ discard block | ||
| 54 | 54 | /** | 
| 55 | 55 | * Get all registered decoders, keyed by the extensions they are registered to decode schemas for. | 
| 56 | 56 | * | 
| 57 | - * @return DecoderInterface[] | |
| 57 | + * @return ParserInterface[] | |
| 58 | 58 | */ | 
| 59 | 59 | public function getDecoders() | 
| 60 | 60 |      { | 
| @@ -65,6 +65,7 @@ discard block | ||
| 65 | 65 | * Set the default type for unknown files | 
| 66 | 66 | * | 
| 67 | 67 | * @param string defaultType | 
| 68 | + * @param string $defaultType | |
| 68 | 69 | */ | 
| 69 | 70 | public function setDefaultType($defaultType = null) | 
| 70 | 71 |      { | 
| @@ -38,8 +38,6 @@ | ||
| 38 | 38 | } | 
| 39 | 39 | |
| 40 | 40 | /** | 
| 41 | - * @param string $schema | |
| 42 | - * @param string $type | |
| 43 | 41 | * | 
| 44 | 42 | * @return object | 
| 45 | 43 | * | 
| @@ -2,8 +2,8 @@ | ||
| 2 | 2 | |
| 3 | 3 | namespace League\JsonReference\Loader; | 
| 4 | 4 | |
| 5 | -use League\JsonReference\DecoderManager; | |
| 6 | 5 | use League\JsonReference\DecoderInterface; | 
| 6 | +use League\JsonReference\DecoderManager; | |
| 7 | 7 | use League\JsonReference\LoaderInterface; | 
| 8 | 8 | use League\JsonReference\SchemaLoadingException; | 
| 9 | 9 | use function League\JsonReference\determineMediaType; | 
| @@ -106,8 +106,8 @@ | ||
| 106 | 106 | * Parse http headers returned by $http_response_header | 
| 107 | 107 | * @link https://stackoverflow.com/questions/10589889/returning-header-as-array-using-curl | 
| 108 | 108 | * | 
| 109 | - * @param array $headers | |
| 110 | 109 | * | 
| 110 | + * @param string $header_text | |
| 111 | 111 | * @return array | 
| 112 | 112 | */ | 
| 113 | 113 | public static function parseResponseHeader($header_text) | 
| @@ -3,8 +3,8 @@ | ||
| 3 | 3 | namespace League\JsonReference\Loader; | 
| 4 | 4 | |
| 5 | 5 | use League\JsonReference; | 
| 6 | -use League\JsonReference\DecoderManager; | |
| 7 | 6 | use League\JsonReference\DecoderInterface; | 
| 7 | +use League\JsonReference\DecoderManager; | |
| 8 | 8 | use League\JsonReference\LoaderInterface; | 
| 9 | 9 | use function League\JsonReference\determineMediaType; | 
| 10 | 10 | |
| @@ -22,7 +22,7 @@ | ||
| 22 | 22 | |
| 23 | 23 | /** | 
| 24 | 24 | * @param string $prefix | 
| 25 | - * @param DecoderInterface|DecoderManager $decoders | |
| 25 | + * @param DecoderManager $decoderManager | |
| 26 | 26 | */ | 
| 27 | 27 | public function __construct($prefix, $decoderManager = null) | 
| 28 | 28 |      { | 
| @@ -2,8 +2,8 @@ | ||
| 2 | 2 | |
| 3 | 3 | namespace League\JsonReference\Loader; | 
| 4 | 4 | |
| 5 | -use League\JsonReference\DecoderManager; | |
| 6 | 5 | use League\JsonReference\DecoderInterface; | 
| 6 | +use League\JsonReference\DecoderManager; | |
| 7 | 7 | use League\JsonReference\LoaderInterface; | 
| 8 | 8 | use League\JsonReference\SchemaLoadingException; | 
| 9 | 9 | use function League\JsonReference\determineMediaType; |