Passed
Push — dev ( 93089e...aa56e6 )
by 世昌
02:45 queued 10s
created
suda/src/database/statement/QueryResult.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -103,7 +103,7 @@  discard block
 block discarded – undo
103 103
             try {
104 104
                 $reflectClass = new ReflectionClass($statement->getFetchClass());
105 105
             } catch (ReflectionException $e) {
106
-                throw new FetchResultException('error create class: '. $e->getMessage(), $e->getCode(), $e);
106
+                throw new FetchResultException('error create class: '.$e->getMessage(), $e->getCode(), $e);
107 107
             }
108 108
             $object = $reflectClass->newInstanceArgs($statement->getFetchClassArgs());
109 109
             if (method_exists($object, '__set')) {
@@ -133,7 +133,7 @@  discard block
 block discarded – undo
133 133
                 try {
134 134
                     $property = $reflectClass->getProperty($propertyName);
135 135
                 } catch (ReflectionException $e) {
136
-                    throw new FetchResultException('error create property: '. $e->getMessage(), $e->getCode(), $e);
136
+                    throw new FetchResultException('error create property: '.$e->getMessage(), $e->getCode(), $e);
137 137
                 }
138 138
                 $property->setAccessible(true);
139 139
                 $property->setValue($object, $value);
Please login to merge, or discard this patch.
suda/src/framework/cache/FileCache.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -134,7 +134,7 @@
 block discarded – undo
134 134
     protected function getFilePath(string $name)
135 135
     {
136 136
         $path = md5($name);
137
-        $savePath = $this->path.'/'.substr($path, 0,2);
137
+        $savePath = $this->path.'/'.substr($path, 0, 2);
138 138
         FileSystem::make($savePath);
139 139
         return $savePath.'/'.$path.'.cache';
140 140
     }
Please login to merge, or discard this patch.