Test Failed
Pull Request — main (#12)
by
unknown
03:55 queued 01:33
created
src/Base/Base.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -38,7 +38,7 @@  discard block
 block discarded – undo
38 38
         // This helps encourage developers to use explicit getter methods
39 39
         $commonMethods = ['id', 'name', 'description'];
40 40
         if (in_array(strtolower($name), $commonMethods)) {
41
-            $methodName = 'get' . ucfirst($name);
41
+            $methodName = 'get'.ucfirst($name);
42 42
             trigger_error(
43 43
                 "Magic method $name() is deprecated. Use explicit method $methodName() instead for better IDE support and type safety.",
44 44
                 E_USER_DEPRECATED
@@ -103,7 +103,7 @@  discard block
 block discarded – undo
103 103
      */
104 104
     public function getName(): string
105 105
     {
106
-        return (string)$this->get('Name', $this->get('name', ''));
106
+        return (string) $this->get('Name', $this->get('name', ''));
107 107
     }
108 108
 
109 109
     /**
@@ -113,6 +113,6 @@  discard block
 block discarded – undo
113 113
      */
114 114
     public function getDescription(): string
115 115
     {
116
-        return (string)$this->get('Description', $this->get('description', ''));
116
+        return (string) $this->get('Description', $this->get('description', ''));
117 117
     }
118 118
 }
119 119
\ No newline at end of file
Please login to merge, or discard this patch.