Completed
Push — feature-EZP-25696 ( 1029f9...e6bbe9 )
by André
23:32
created
eZ/Publish/Core/REST/Server/Output/ValueObjectVisitor/CachedValue.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -61,6 +61,9 @@
 block discarded – undo
61 61
         }
62 62
     }
63 63
 
64
+    /**
65
+     * @param string $parameterName
66
+     */
64 67
     public function getParameter($parameterName, $defaultValue = null)
65 68
     {
66 69
         if ($this->configResolver->hasParameter($parameterName)) {
Please login to merge, or discard this patch.
Core/REST/Server/Tests/Output/ValueObjectVisitor/CachedValueTest.php 1 patch
Doc Comments   +4 added lines, -1 removed lines patch added patch discarded remove patch
@@ -122,6 +122,9 @@  discard block
 block discarded – undo
122 122
         self::assertNotNull($result);
123 123
     }
124 124
 
125
+    /**
126
+     * @param CachedValue $value
127
+     */
125 128
     protected function visit($value)
126 129
     {
127 130
         $this->getVisitorMock()->expects($this->once())->method('visitValueObject')->with($value->value);
@@ -160,7 +163,7 @@  discard block
 block discarded – undo
160 163
     }
161 164
 
162 165
     /**
163
-     * @return ConfigResolverInterface|PHPUnit_Framework_MockObject_MockObject
166
+     * @return ConfigResolverInterface
164 167
      */
165 168
     protected function getConfigProviderMock()
166 169
     {
Please login to merge, or discard this patch.