Completed
Branch Version3 (9ba846)
by Sam
04:53
created
lib/Ip/Toolbox.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -48,7 +48,7 @@
 block discarded – undo
48 48
      */
49 49
     public static function expandIncompleteIpv6(string $ip): string
50 50
     {
51
-        $hextets = array_map(function ($hextet) {
51
+        $hextets = array_map(function($hextet) {
52 52
             return str_pad($hextet, 4, '0', STR_PAD_LEFT);
53 53
         }, explode(':', $ip));
54 54
 
Please login to merge, or discard this patch.
lib/Parser/Parser.php 1 patch
Doc Comments   +4 added lines, -1 removed lines patch added patch discarded remove patch
@@ -238,6 +238,9 @@  discard block
 block discarded – undo
238 238
         return $isName;
239 239
     }
240 240
 
241
+    /**
242
+     * @param string $origin
243
+     */
241 244
     private function isClass(ResourceRecordIterator $iterator, $origin = null): bool
242 245
     {
243 246
         if (!Classes::isValid($iterator->current())) {
@@ -351,7 +354,7 @@  discard block
 block discarded – undo
351 354
     /**
352 355
      * @param ResourceRecordIterator $iterator
353 356
      *
354
-     * @return RData\RdataInterface
357
+     * @return Rdata\RdataInterface
355 358
      *
356 359
      * @throws ParseException
357 360
      */
Please login to merge, or discard this patch.
lib/Validator.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -147,7 +147,7 @@
 block discarded – undo
147 147
 
148 148
         $totalError = 0;
149 149
 
150
-        $incrementError = function (bool $errorCondition, int $errorOrdinal) use (&$totalError): void {
150
+        $incrementError = function(bool $errorCondition, int $errorOrdinal) use (&$totalError): void {
151 151
             $totalError += $errorCondition ? $errorOrdinal : 0;
152 152
         };
153 153
 
Please login to merge, or discard this patch.
lib/Rdata/Factory.php 1 patch
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -329,8 +329,8 @@
 block discarded – undo
329 329
      * @return RRSIG
330 330
      */
331 331
     public static function RRSIG(string $typeCovered, int $algorithm, int $labels, int $originalTtl,
332
-                                 int $signatureExpiration, int $signatureInception, int $keyTag,
333
-                                 string $signersName, string $signature): RRSIG
332
+                                    int $signatureExpiration, int $signatureInception, int $keyTag,
333
+                                    string $signersName, string $signature): RRSIG
334 334
     {
335 335
         $rdata = new RRSIG();
336 336
         $rdata->setTypeCovered($typeCovered);
Please login to merge, or discard this patch.