Skip to content

Commit 015b7d9

Browse files
authored
Merge pull request #7841 from kenjis/fix-ga-check-fail
[4.4] update cs and add missing `@return`
2 parents e80b66f + f02979b commit 015b7d9

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

system/Exceptions/FrameworkException.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,9 @@ public static function forInvalidDirectory(string $path)
4747
return new static(lang('Core.invalidDirectory', [$path]));
4848
}
4949

50+
/**
51+
* @return static
52+
*/
5053
public static function forCopyError(string $path)
5154
{
5255
return new static(lang('Core.copyError', [$path]));

user_guide_src/source/outgoing/response/003.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,5 +6,6 @@
66
];
77

88
return $this->response->setJSON($data);
9+
910
// or
1011
return $this->response->setXML($data);

0 commit comments

Comments
 (0)