@@ -6,10 +6,10 @@ |
||
6 | 6 | trait LoaderAwareTrait |
7 | 7 | { |
8 | 8 | /** |
9 | - * 加载器 |
|
10 | - * |
|
11 | - * @var Loader |
|
12 | - */ |
|
9 | + * 加载器 |
|
10 | + * |
|
11 | + * @var Loader |
|
12 | + */ |
|
13 | 13 | protected $loader; |
14 | 14 | |
15 | 15 |
@@ -25,7 +25,7 @@ |
||
25 | 25 | <div class="footer"> |
26 | 26 | <?php if (defined('SUDA_START_TIME') && defined('SUDA_START_MEMORY')): ?> |
27 | 27 | <?php |
28 | - $mem = memory_get_usage() - SUDA_START_MEMORY ; |
|
28 | + $mem = memory_get_usage() - SUDA_START_MEMORY ; |
|
29 | 29 | $human = array('B', 'KB', 'MB', 'GB', 'TB'); |
30 | 30 | $pos = 0; |
31 | 31 | while ($mem >= 1024) { |
@@ -9,10 +9,10 @@ |
||
9 | 9 | class StringStream implements Stream |
10 | 10 | { |
11 | 11 | /** |
12 | - * 设置偏移 |
|
13 | - * |
|
14 | - * @var int |
|
15 | - */ |
|
12 | + * 设置偏移 |
|
13 | + * |
|
14 | + * @var int |
|
15 | + */ |
|
16 | 16 | protected $offset = 0; |
17 | 17 | |
18 | 18 | /** |
@@ -17,10 +17,10 @@ |
||
17 | 17 | class ContentWrapper |
18 | 18 | { |
19 | 19 | protected $types = [ |
20 | - [ JsonContentWrapper::class , ['array', JsonSerializable::class],], |
|
21 | - [ HtmlContentWrapper::class , ['boolean', 'integer','double', 'string'],], |
|
22 | - [ NullContentWrapper::class , ['NULL'],], |
|
23 | - [ FileContentWrapper::class , [SplFileObject::class],], |
|
20 | + [ JsonContentWrapper::class , ['array', JsonSerializable::class],], |
|
21 | + [ HtmlContentWrapper::class , ['boolean', 'integer','double', 'string'],], |
|
22 | + [ NullContentWrapper::class , ['NULL'],], |
|
23 | + [ FileContentWrapper::class , [SplFileObject::class],], |
|
24 | 24 | ]; |
25 | 25 | |
26 | 26 | /** |
@@ -19,9 +19,9 @@ |
||
19 | 19 | } |
20 | 20 | |
21 | 21 | use FileHelper { |
22 | - delete as protected deleteFile; |
|
23 | - FileHelper::copy insteadof DirectoryHelper; |
|
24 | - FileHelper::move insteadof DirectoryHelper; |
|
22 | + delete as protected deleteFile; |
|
23 | + FileHelper::copy insteadof DirectoryHelper; |
|
24 | + FileHelper::move insteadof DirectoryHelper; |
|
25 | 25 | } |
26 | 26 | |
27 | 27 | /** |