Completed
Pull Request — master (#33)
by Daniel
05:18
created
lib/Event/MetadataLoadEvent.php 1 patch
Doc Comments   -3 removed lines patch added patch discarded remove patch
@@ -16,9 +16,6 @@
 block discarded – undo
16 16
 class MetadataLoadEvent extends AbstractEvent
17 17
 {
18 18
     /**
19
-     * @param NodeInterface $node
20
-     * @param string $locale
21
-     * @param array $options
22 19
      */
23 20
     public function __construct(Metadata $metadata)
24 21
     {
Please login to merge, or discard this patch.
lib/Event/QueryCreateEvent.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -85,7 +85,7 @@
 block discarded – undo
85 85
     }
86 86
 
87 87
     /**
88
-     * @return mixed
88
+     * @return Query
89 89
      *
90 90
      * @throws DocumentManagerException
91 91
      */
Please login to merge, or discard this patch.
lib/Event/QueryExecuteEvent.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -55,7 +55,7 @@
 block discarded – undo
55 55
     }
56 56
 
57 57
     /**
58
-     * @return mixed
58
+     * @return QueryResultCollection
59 59
      */
60 60
     public function getResult()
61 61
     {
Please login to merge, or discard this patch.
lib/EventDispatcher/DebugEventDispatcher.php 2 patches
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -81,6 +81,9 @@
 block discarded – undo
81 81
         }
82 82
     }
83 83
 
84
+    /**
85
+     * @param string $className
86
+     */
84 87
     private function getDebugClassName($className)
85 88
     {
86 89
         $parts = explode('\\', $className);
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -85,7 +85,7 @@
 block discarded – undo
85 85
     {
86 86
         $parts = explode('\\', $className);
87 87
         $last = array_pop($parts);
88
-        $parts = array_map(function ($part) {
88
+        $parts = array_map(function($part) {
89 89
             return substr($part, 0, 1);
90 90
         }, $parts);
91 91
 
Please login to merge, or discard this patch.
lib/Subscriber/Behavior/Audit/BlameSubscriber.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -110,6 +110,9 @@
 block discarded – undo
110 110
         $event->getAccessor()->set(self::CHANGER, $userId);
111 111
     }
112 112
 
113
+    /**
114
+     * @param \Symfony\Component\OptionsResolver\OptionsResolver $options
115
+     */
113 116
     private function getUserId($options)
114 117
     {
115 118
         if ($options['user']) {
Please login to merge, or discard this patch.
lib/Subscriber/Behavior/Mapping/ParentSubscriber.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -155,7 +155,7 @@
 block discarded – undo
155 155
      *
156 156
      * @param object $document child-document
157 157
      * @param NodeInterface $node to determine parent
158
-     * @param array $options options to load parent
158
+     * @param \Symfony\Component\OptionsResolver\OptionsResolver $options options to load parent
159 159
      */
160 160
     private function mapParent($document, NodeInterface $node, $options = [])
161 161
     {
Please login to merge, or discard this patch.
lib/ProxyFactory.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -92,7 +92,7 @@
 block discarded – undo
92 92
             return $document;
93 93
         }
94 94
 
95
-        $initializer = function (LazyLoadingInterface $document, $method, array $parameters, &$initializer) use (
95
+        $initializer = function(LazyLoadingInterface $document, $method, array $parameters, &$initializer) use (
96 96
             $fromDocument,
97 97
             $targetNode,
98 98
             $options
Please login to merge, or discard this patch.
lib/Query/QueryBuilderConverter.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -211,7 +211,7 @@
 block discarded – undo
211 211
      * @param string $alias As specified in the query source.
212 212
      * @param string $field Name of the document field
213 213
      *
214
-     * @return array {
214
+     * @return string[] {
215 215
      *
216 216
      *     @var string Element is the real alias to use, second element is
217 217
      *     @var string the property name
Please login to merge, or discard this patch.
lib/Subscriber/Phpcr/QuerySubscriber.php 1 patch
Doc Comments   -1 removed lines patch added patch discarded remove patch
@@ -51,7 +51,6 @@
 block discarded – undo
51 51
     /**
52 52
      * @param SessionInterface $session
53 53
      * @param EventDispatcherInterface $eventDispatcher
54
-     * @param QueryBuilderConverter $converter
55 54
      * @param string $queryBuilderClass
56 55
      */
57 56
     public function __construct(
Please login to merge, or discard this patch.