Completed
Pull Request — 3.x (#1091)
by Javier
06:14
created
src/Filter/Filter.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -46,7 +46,7 @@
 block discarded – undo
46 46
     }
47 47
 
48 48
     /**
49
-     * @param ProxyQueryInterface|QueryBuilder $queryBuilder
49
+     * @param ProxyQueryInterface $queryBuilder
50 50
      * @param mixed                            $parameter
51 51
      */
52 52
     protected function applyWhere(ProxyQueryInterface $queryBuilder, $parameter)
Please login to merge, or discard this patch.
tests/Filter/QueryBuilder.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -124,7 +124,7 @@  discard block
 block discarded – undo
124 124
     }
125 125
 
126 126
     /**
127
-     * @return array
127
+     * @return string[]
128 128
      */
129 129
     public function getAllAliases()
130 130
     {
@@ -132,7 +132,7 @@  discard block
 block discarded – undo
132 132
     }
133 133
 
134 134
     /**
135
-     * @return array
135
+     * @return string[]
136 136
      */
137 137
     public function getRootAliases()
138 138
     {
Please login to merge, or discard this patch.
src/Filter/ModelAutocompleteFilter.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -79,7 +79,7 @@  discard block
 block discarded – undo
79 79
      * For the record, the $alias value is provided by the association method (and the entity join method)
80 80
      *  so the field value is not used here.
81 81
      *
82
-     * @param ProxyQueryInterface|QueryBuilder $queryBuilder
82
+     * @param ProxyQueryInterface $queryBuilder
83 83
      * @param string                           $alias
84 84
      * @param mixed                            $data
85 85
      *
@@ -103,7 +103,7 @@  discard block
 block discarded – undo
103 103
     }
104 104
 
105 105
     /**
106
-     * @param ProxyQueryInterface|QueryBuilder $queryBuilder
106
+     * @param ProxyQueryInterface $queryBuilder
107 107
      * @param string                           $alias
108 108
      * @param mixed                            $data
109 109
      *
Please login to merge, or discard this patch.
src/Builder/ListBuilder.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -190,6 +190,9 @@
 block discarded – undo
190 190
         return $fieldDescription;
191 191
     }
192 192
 
193
+    /**
194
+     * @return string
195
+     */
193 196
     private function getTemplate(string $type): ?string
194 197
     {
195 198
         if (!isset($this->templates[$type])) {
Please login to merge, or discard this patch.
src/Builder/ShowBuilder.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -103,6 +103,9 @@
 block discarded – undo
103 103
         }
104 104
     }
105 105
 
106
+    /**
107
+     * @return string
108
+     */
106 109
     private function getTemplate(string $type): ?string
107 110
     {
108 111
         if (!isset($this->templates[$type])) {
Please login to merge, or discard this patch.
src/Model/ModelManager.php 1 patch
Doc Comments   +2 added lines, -1 removed lines patch added patch discarded remove patch
@@ -60,6 +60,7 @@  discard block
 block discarded – undo
60 60
 
61 61
     /**
62 62
      * NEXT_MAJOR: Make $propertyAccessor mandatory.
63
+     * @param \Symfony\Component\PropertyAccess\PropertyAccessor $propertyAccessor
63 64
      */
64 65
     public function __construct(ManagerRegistry $registry, ?PropertyAccessorInterface $propertyAccessor = null)
65 66
     {
@@ -661,7 +662,7 @@  discard block
 block discarded – undo
661 662
      *
662 663
      * @param string $property
663 664
      *
664
-     * @return mixed
665
+     * @return string
665 666
      */
666 667
     protected function camelize($property)
667 668
     {
Please login to merge, or discard this patch.
tests/Model/ModelManagerTest.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -944,6 +944,9 @@
 block discarded – undo
944 944
         $this->assertNull($this->modelManager->getNormalizedIdentifier(null));
945 945
     }
946 946
 
947
+    /**
948
+     * @param string $class
949
+     */
947 950
     private function getMetadata($class, $isVersioned)
948 951
     {
949 952
         $metadata = new ClassMetadata($class);
Please login to merge, or discard this patch.
src/Builder/FormContractor.php 1 patch
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -195,6 +195,7 @@
 block discarded – undo
195 195
 
196 196
     /**
197 197
      * @param string[] $classes
198
+     * @param string|null $type
198 199
      */
199 200
     private function isAnyInstanceOf(?string $type, array $classes): bool
200 201
     {
Please login to merge, or discard this patch.