Passed
Branch master (a0c179)
by y
02:55
created
src/Error.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -28,7 +28,7 @@  discard block
 block discarded – undo
28 28
      * If the resource is closed or not a socket, `SOCKET_EBADF` is returned.
29 29
      * @return int
30 30
      */
31
-    public static function getLast ($resource = null) {
31
+    public static function getLast($resource = null) {
32 32
         if (isset($resource)) {
33 33
             if (@get_resource_type($resource) !== 'Socket') {
34 34
                 return SOCKET_EBADF;
@@ -54,7 +54,7 @@  discard block
 block discarded – undo
54 54
      *     PHP's last suppressed warning is used for the message.
55 55
      *
56 56
      */
57
-    public function __construct ($subject = null, $fallback = 0) {
57
+    public function __construct($subject = null, $fallback = 0) {
58 58
         if (is_int($subject)) {
59 59
             $errno = $subject;
60 60
         }
@@ -74,7 +74,7 @@  discard block
 block discarded – undo
74 74
     /**
75 75
      * @return mixed
76 76
      */
77
-    public function getExtra () {
77
+    public function getExtra() {
78 78
         return $this->extra;
79 79
     }
80 80
 
@@ -82,7 +82,7 @@  discard block
 block discarded – undo
82 82
      * @param mixed $extra
83 83
      * @return $this
84 84
      */
85
-    public function setExtra ($extra) {
85
+    public function setExtra($extra) {
86 86
         $this->extra = $extra;
87 87
         return $this;
88 88
     }
Please login to merge, or discard this patch.