Completed
Push — EZP-26710-Error-fielddescripti... ( 92e5d5 )
by Nicolas
20:50
created
eZ/Bundle/EzPublishCoreBundle/Tests/Routing/DefaultRouterTest.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -48,7 +48,7 @@
 block discarded – undo
48 48
     }
49 49
 
50 50
     /**
51
-     * @param array $mockedMethods
51
+     * @param string[] $mockedMethods
52 52
      *
53 53
      * @return \PHPUnit_Framework_MockObject_MockObject|DefaultRouter
54 54
      */
Please login to merge, or discard this patch.
DependencyInjection/Configuration.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -16,6 +16,9 @@
 block discarded – undo
16 16
 {
17 17
     protected $rootNodeName;
18 18
 
19
+    /**
20
+     * @param string $rootNodeName
21
+     */
19 22
     public function __construct($rootNodeName)
20 23
     {
21 24
         $this->rootNodeName = $rootNodeName;
Please login to merge, or discard this patch.
eZ/Bundle/EzPublishIOBundle/BinaryStreamResponse.php 1 patch
Doc Comments   +2 added lines, -4 removed lines patch added patch discarded remove patch
@@ -44,7 +44,6 @@  discard block
 block discarded – undo
44 44
      * @param array               $headers            An array of response headers
45 45
      * @param bool                $public             Files are public by default
46 46
      * @param null|string         $contentDisposition The type of Content-Disposition to set automatically with the filename
47
-     * @param bool                $autoEtag           Whether the ETag header should be automatically set
48 47
      * @param bool                $autoLastModified   Whether the Last-Modified header should be automatically set
49 48
      */
50 49
     public function __construct(BinaryFile $binaryFile, IOServiceInterface $ioService, $status = 200, $headers = array(), $public = true, $contentDisposition = null, $autoLastModified = true)
@@ -63,12 +62,11 @@  discard block
 block discarded – undo
63 62
     /**
64 63
      * Sets the file to stream.
65 64
      *
66
-     * @param \SplFileInfo|string $file The file to stream
65
+     * @param BinaryFile $file The file to stream
67 66
      * @param string $contentDisposition
68
-     * @param bool $autoEtag
69 67
      * @param bool $autoLastModified
70 68
      *
71
-     * @return BinaryFileResponse
69
+     * @return BinaryStreamResponse
72 70
      */
73 71
     public function setFile($file, $contentDisposition = null, $autoLastModified = true)
74 72
     {
Please login to merge, or discard this patch.
EzPublishIOBundle/DependencyInjection/Compiler/IOConfigurationPass.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -72,7 +72,7 @@  discard block
 block discarded – undo
72 72
      * @param ContainerBuilder $container
73 73
      * @param Definition $factory The factory service that should receive the list of handlers
74 74
      * @param array $configuredHandlers Handlers configuration declared via semantic config
75
-     * @param \eZ\Bundle\EzPublishIOBundle\DependencyInjection\ConfigurationFactory[]|ArrayObject $factories Map of alias => handler service id
75
+     * @param ArrayObject $factories Map of alias => handler service id
76 76
      * @param string $defaultHandler default handler id
77 77
      *
78 78
      * @internal param $HandlerTypesMap
@@ -105,7 +105,7 @@  discard block
 block discarded – undo
105 105
      * Returns from $factories the factory for handler $type.
106 106
      *
107 107
      * @param ContainerBuilder $container
108
-     * @param \eZ\Bundle\EzPublishIOBundle\DependencyInjection\ConfigurationFactory[]|ArrayObject|ContainerAware[] $factories
108
+     * @param ArrayObject $factories
109 109
      * @param string $type
110 110
      *
111 111
      * @return \eZ\Bundle\EzPublishIOBundle\DependencyInjection\ConfigurationFactory
Please login to merge, or discard this patch.
eZ/Bundle/EzPublishIOBundle/DependencyInjection/Configuration.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -60,9 +60,9 @@
 block discarded – undo
60 60
 
61 61
     /**
62 62
      * @param NodeDefinition $node
63
-     * @param                $name
63
+     * @param                string $name
64 64
      * @param string $info block info line
65
-     * @param ConfigurationFactory[]|ArrayObject $factories
65
+     * @param ArrayObject $factories
66 66
      */
67 67
     private function addHandlersSection(NodeDefinition $node, $name, $info, ArrayObject &$factories)
68 68
     {
Please login to merge, or discard this patch.
EzPublishIOBundle/Tests/DependencyInjection/ConfigurationFactoryTest.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -72,6 +72,7 @@  discard block
 block discarded – undo
72 72
 
73 73
     /**
74 74
      * Registers the handler in the container, like the pass would have done.
75
+     * @param string $name
75 76
      */
76 77
     private function registerHandler($name)
77 78
     {
@@ -107,7 +108,6 @@  discard block
 block discarded – undo
107 108
      *
108 109
      * The method can also configure the container via $this->container.
109 110
      *
110
-     * @param ContainerBuilder $container
111 111
      */
112 112
     abstract public function provideHandlerConfiguration();
113 113
 
Please login to merge, or discard this patch.
eZ/Bundle/EzPublishIOBundle/Tests/EventListener/StreamFileListenerTest.php 1 patch
Doc Comments   +2 added lines, -1 removed lines patch added patch discarded remove patch
@@ -79,6 +79,7 @@  discard block
 block discarded – undo
79 79
     }
80 80
 
81 81
     /**
82
+     * @param string $semanticPath
82 83
      * @return Request
83 84
      */
84 85
     protected function createRequest($semanticPath)
@@ -90,7 +91,7 @@  discard block
 block discarded – undo
90 91
     }
91 92
 
92 93
     /**
93
-     * @param $request
94
+     * @param Request $request
94 95
      *
95 96
      * @return GetResponseEvent
96 97
      */
Please login to merge, or discard this patch.
eZ/Bundle/EzPublishRestBundle/Features/Context/RestClient/DriverHelper.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -18,9 +18,9 @@
 block discarded – undo
18 18
     /**
19 19
      * Make/Crypt the authentication value.
20 20
      *
21
-     * @param string $user
22 21
      * @param string $password
23 22
      * @param string $type The type of authentication
23
+     * @param string $username
24 24
      *
25 25
      * @return string Authentication value
26 26
      *
Please login to merge, or discard this patch.
eZ/Bundle/EzPublishRestBundle/Features/Context/RestContext.php 1 patch
Doc Comments   +5 added lines, -2 removed lines patch added patch discarded remove patch
@@ -73,9 +73,7 @@  discard block
 block discarded – undo
73 73
     /**
74 74
      * Initialize class.
75 75
      *
76
-     * @param string $url    Base URL for REST calls
77 76
      * @param string $driver REST Driver to be used
78
-     * @param string $json
79 77
      */
80 78
     public function __construct(
81 79
         $driver = self::DEFAULT_DRIVER,
@@ -89,6 +87,9 @@  discard block
 block discarded – undo
89 87
         $this->setRestDriver($this->driver);
90 88
     }
91 89
 
90
+    /**
91
+     * @param string $url
92
+     */
92 93
     private function setUrl($url)
93 94
     {
94 95
         $this->url = $url;
@@ -167,6 +168,8 @@  discard block
 block discarded – undo
167 168
 
168 169
     /**
169 170
      * @When I send a :type request to :resource (url)
171
+     * @param string $type
172
+     * @param string $resource
170 173
      */
171 174
     public function createAndSendRequest($type, $resource)
172 175
     {
Please login to merge, or discard this patch.