Completed
Push — master ( e54b6a...c762b0 )
by John
03:11
created
src/Description/Standard/Raml/RamlOperation.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -23,7 +23,7 @@
 block discarded – undo
23 23
      * @param \stdClass $definition
24 24
      * @param string    $path
25 25
      * @param string    $method
26
-     * @param array     $pathParameters
26
+     * @param Parameter[]     $pathParameters
27 27
      */
28 28
     public function __construct(\stdClass $definition, string $path, string $method, array $pathParameters = [])
29 29
     {
Please login to merge, or discard this patch.
src/Document/Document.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -49,7 +49,7 @@
 block discarded – undo
49 49
      */
50 50
     public function apply(callable  $f)
51 51
     {
52
-        $recurse = function (&$item, $parent = null, $parentAttribute = null) use ($f, &$recurse) {
52
+        $recurse = function(&$item, $parent = null, $parentAttribute = null) use ($f, &$recurse) {
53 53
 
54 54
             foreach ($item as $attribute => &$value) {
55 55
                 if (false === $f($value, $attribute, $parent, $parentAttribute)) {
Please login to merge, or discard this patch.
src/Description/Standard/Raml/RamlDescription.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -28,7 +28,7 @@
 block discarded – undo
28 28
 
29 29
         $document = clone $document;
30 30
 
31
-        $document->apply(function ($definition, $attributeName, $parent, $parentAttributeName) {
31
+        $document->apply(function($definition, $attributeName, $parent, $parentAttributeName) {
32 32
             if (substr((string)$attributeName, 0, 1) === '/') {
33 33
                 $pathName               = "{$parentAttributeName}{$attributeName}";
34 34
                 $this->paths[$pathName] = new RamlPath($pathName, $definition);
Please login to merge, or discard this patch.