Completed
Pull Request — master (#79)
by Jacob
02:58
created
src/Api/AbstractAdapter.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -49,7 +49,7 @@
 block discarded – undo
49 49
      *
50 50
      * @param   SerializerInterface     $serializer
51 51
      * @param   NormalizerInterface     $normalizer
52
-     * @param   StoreInterface          $store
52
+     * @param   Store          $store
53 53
      * @param   Rest\RestConfiguration  $config
54 54
      */
55 55
     public function __construct(SerializerInterface $serializer, NormalizerInterface $normalizer, Store $store, Rest\RestConfiguration $config)
Please login to merge, or discard this patch.
src/Exception/AbstractHttpException.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -28,11 +28,11 @@
 block discarded – undo
28 28
      * Constructor.
29 29
      * Overwritten to require a message and an HTTP code.
30 30
      *
31
-     * @param   string                          $message
32 31
      * @param   int                             $httpCode
33 32
      * @param   string                          $errorType
34 33
      * @param   int                             $code
35 34
      * @param   HttpExceptionInterface|null     $previous
35
+     * @param string $detail
36 36
      */
37 37
     public function __construct($detail, $httpCode, $errorType, $code = 0, HttpExceptionInterface $previous = null)
38 38
     {
Please login to merge, or discard this patch.
src/Metadata/Cache/ApcCache.php 1 patch
Doc Comments   -2 removed lines patch added patch discarded remove patch
@@ -29,9 +29,7 @@
 block discarded – undo
29 29
     /**
30 30
      * Constructor.
31 31
      *
32
-     * @param   Redis   $redis
33 32
      * @param   int     $ttl
34
-     * @param   int     $serializer
35 33
      */
36 34
     public function __construct($ttl = 3600)
37 35
     {
Please login to merge, or discard this patch.
src/Metadata/Driver/AbstractFileDriver.php 1 patch
Doc Comments   -1 removed lines patch added patch discarded remove patch
@@ -50,7 +50,6 @@
 block discarded – undo
50 50
      * Constructor.
51 51
      *
52 52
      * @param   FileLocatorInterface    $fileLocator
53
-     * @param   Validator               $validator
54 53
      * @param   StorageLayerManager     $storageManager
55 54
      */
56 55
     public function __construct(FileLocatorInterface $fileLocator, StorageLayerManager $storageManager)
Please login to merge, or discard this patch.
src/Metadata/MetadataFactory.php 1 patch
Doc Comments   +6 added lines, -1 removed lines patch added patch discarded remove patch
@@ -79,7 +79,7 @@  discard block
 block discarded – undo
79 79
     /**
80 80
      * Gets the cache instance.
81 81
      *
82
-     * @return  CacheInterface|null
82
+     * @return  CacheInterface
83 83
      */
84 84
     public function getCache()
85 85
     {
@@ -242,6 +242,9 @@  discard block
 block discarded – undo
242 242
         return $this->isDescendantOf($childMeta->getParentEntityType(), $parent);
243 243
     }
244 244
 
245
+    /**
246
+     * @param string $parentType
247
+     */
245 248
     public function validateResourceTypes($parentType, $childType)
246 249
     {
247 250
         $meta = $this->getMetadataForType($parentType);
@@ -323,6 +326,7 @@  discard block
 block discarded – undo
323 326
     /**
324 327
      * Gets a Metadata instance for a type from memory.
325 328
      *
329
+     * @param string $type
326 330
      * @return  EntityMetadata|null
327 331
      */
328 332
     private function getFromMemory($type)
@@ -348,6 +352,7 @@  discard block
 block discarded – undo
348 352
     /**
349 353
      * Retrieves a Metadata instance for a type from cache.
350 354
      *
355
+     * @param string $type
351 356
      * @return  EntityMetadata|null
352 357
      */
353 358
     private function getFromCache($type)
Please login to merge, or discard this patch.
src/Metadata/RelationshipMetadata.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -135,7 +135,7 @@
 block discarded – undo
135 135
     /**
136 136
      * Validates the relationship type.
137 137
      *
138
-     * @param   string  $type
138
+     * @param string $relType
139 139
      * @return  bool
140 140
      * @throws  MetadataException
141 141
      */
Please login to merge, or discard this patch.
src/Search/ClientInterface.php 1 patch
Doc Comments   -1 removed lines patch added patch discarded remove patch
@@ -45,7 +45,6 @@
 block discarded – undo
45 45
     /**
46 46
      * Returns a set of autocomplete results for a model type, attribute key, and search value.
47 47
      *
48
-     * @param   string  $typeKey
49 48
      * @param   string  $attributeKey
50 49
      * @param   string  $searchValue
51 50
      * @return  AutocompleteResult[]
Please login to merge, or discard this patch.
src/Events/EventDispatcher.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -22,7 +22,7 @@  discard block
 block discarded – undo
22 22
      * Adds an event listener.
23 23
      *
24 24
      * @param   string|array    $eventNames The event name(s) to listen for.
25
-     * @param   object          $listener   The event listener object.
25
+     * @param   EventSubscriberInterface          $listener   The event listener object.
26 26
      * @return  self
27 27
      * @throws  \InvalidArgumentException   If the listener does not contain the event method.
28 28
      */
@@ -111,7 +111,7 @@  discard block
 block discarded – undo
111 111
      * Removes an event listener, if registered.
112 112
      *
113 113
      * @param   string|array    $eventNames The event name(s) to listen for.
114
-     * @param   object          $listener   The event listener object.
114
+     * @param   EventSubscriberInterface          $listener   The event listener object.
115 115
      * @return  self
116 116
      */
117 117
     public function removeListener($eventNames, $listener)
Please login to merge, or discard this patch.
src/Metadata/EmbeddedPropMetadata.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -64,7 +64,7 @@  discard block
 block discarded – undo
64 64
     /**
65 65
      * Sets the embed type: one or many.
66 66
      *
67
-     * @param   string  $relType
67
+     * @param string $embedType
68 68
      * @return  self
69 69
      */
70 70
     public function setEmbedType($embedType)
@@ -78,7 +78,7 @@  discard block
 block discarded – undo
78 78
     /**
79 79
      * Validates the embed type.
80 80
      *
81
-     * @param   string  $type
81
+     * @param string $embedType
82 82
      * @return  bool
83 83
      * @throws  MetadataException
84 84
      */
Please login to merge, or discard this patch.