Completed
Push — master ( ea9cfc...8dc8d9 )
by Raffael
12:43 queued 03:57
created
src/lib/Endpoint/Moodle/ApiClient.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -69,7 +69,7 @@
 block discarded – undo
69 69
     /**
70 70
      * Set options.
71 71
      *
72
-     * @param iterable $config
72
+     * @param iterable|null $config
73 73
      */
74 74
     public function setOptions(?Iterable $config): ApiClient
75 75
     {
Please login to merge, or discard this patch.
src/lib/Rest/Helper.php 1 patch
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -60,6 +60,7 @@
 block discarded – undo
60 60
 
61 61
     /**
62 62
      * Watch.
63
+     * @param \Generator $cursor
63 64
      */
64 65
     public static function watchAll(ServerRequestInterface $request, Identity $identity, Acl $acl, Iterable $cursor): ResponseInterface
65 66
     {
Please login to merge, or discard this patch.
src/lib/Resource/Factory.php 1 patch
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -139,6 +139,7 @@
 block discarded – undo
139 139
 
140 140
     /**
141 141
      * Get all.
142
+     * @param Closure $build
142 143
      */
143 144
     public function getAllFrom(Collection $collection, ?array $query = null, ?int $offset = null, ?int $limit = null, ?array $sort = null, ?Closure $build = null): Generator
144 145
     {
Please login to merge, or discard this patch.
src/lib/Secret.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -44,7 +44,7 @@
 block discarded – undo
44 44
             ],
45 45
             'kind' => 'Secret',
46 46
             'data' => $this->getData(),
47
-       ];
47
+        ];
48 48
 
49 49
         return AttributeResolver::resolve($request, $this, $resource);
50 50
     }
Please login to merge, or discard this patch.
src/lib/AccessRule.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -42,7 +42,7 @@
 block discarded – undo
42 42
         $resource = [
43 43
             'kind' => 'AccessRule',
44 44
             'data' => $this->getData(),
45
-       ];
45
+        ];
46 46
 
47 47
         return AttributeResolver::resolve($request, $this, $resource);
48 48
     }
Please login to merge, or discard this patch.
src/lib/Storage/Balloon/ApiClient.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -122,7 +122,7 @@
 block discarded – undo
122 122
             'http' => [
123 123
                 'method' => $method,
124 124
                 'header' => "Content-Type: application/json\r\n".
125
-                          'Authorization: Basic '.base64_encode($this->username.':'.$this->password)."\r\n",
125
+                            'Authorization: Basic '.base64_encode($this->username.':'.$this->password)."\r\n",
126 126
             ],
127 127
         ];
128 128
 
Please login to merge, or discard this patch.
src/lib/Async/Sync.php 1 patch
Indentation   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -398,9 +398,9 @@
 block discarded – undo
398 398
         }
399 399
 
400 400
         $mail = (new Message())
401
-          ->setSubject($subject)
402
-          ->setBody($body)
403
-          ->setEncoding('UTF-8');
401
+            ->setSubject($subject)
402
+            ->setBody($body)
403
+            ->setEncoding('UTF-8');
404 404
 
405 405
         foreach ($this->data['notification']['receiver'] as $receiver) {
406 406
             $mail->setTo($receiver);
Please login to merge, or discard this patch.
src/lib/DataObjectRelation/Factory.php 2 patches
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -163,6 +163,9 @@
 block discarded – undo
163 163
 
164 164
     /**
165 165
      * Change stream.
166
+     * @param boolean $after
167
+     * @param boolean $query
168
+     * @param boolean $offset
166 169
      */
167 170
     public function watch(DataObjectInterface $object, ?ObjectIdInterface $after = null, bool $existing = true, ?array $query = null, ?int $offset = null, ?int $limit = null, ?array $sort = null): Generator
168 171
     {
Please login to merge, or discard this patch.
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -112,7 +112,7 @@
 block discarded – undo
112 112
             'namespace_2' => $object_2->getCollection()->getResourceNamespace()->getName(),
113 113
             'object_2' => $object_2->getId(),
114 114
             'data' => $context,
115
-         ];
115
+            ];
116 116
 
117 117
         $exists = $this->db->{self::COLLECTION_NAME}->findOne([
118 118
             '$or' => [
Please login to merge, or discard this patch.
src/lib/Job/Factory.php 1 patch
Doc Comments   +8 added lines patch added patch discarded remove patch
@@ -63,6 +63,10 @@  discard block
 block discarded – undo
63 63
 
64 64
     /**
65 65
      * Get all.
66
+     * @param integer $query
67
+     * @param integer $offset
68
+     * @param integer $limit
69
+     * @param integer $sort
66 70
      */
67 71
     public function getAll(?array $query = null, ?int $offset = null, ?int $limit = null, ?array $sort = null): Generator
68 72
     {
@@ -144,6 +148,10 @@  discard block
 block discarded – undo
144 148
 
145 149
     /**
146 150
      * Change stream.
151
+     * @param boolean $query
152
+     * @param boolean $offset
153
+     * @param boolean $limit
154
+     * @param boolean $sort
147 155
      */
148 156
     public function watch(?ObjectIdInterface $after = null, bool $existing = true, ?array $query = null, ?int $offset = null, ?int $limit = null, ?array $sort = null): Generator
149 157
     {
Please login to merge, or discard this patch.