Skip to content

Commit

Permalink
Merge pull request #7841 from kenjis/fix-ga-check-fail
Browse files Browse the repository at this point in the history
[4.4] update cs and add missing `@return`
  • Loading branch information
kenjis authored Aug 22, 2023
2 parents e80b66f + f02979b commit 015b7d9
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
3 changes: 3 additions & 0 deletions system/Exceptions/FrameworkException.php
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,9 @@ public static function forInvalidDirectory(string $path)
return new static(lang('Core.invalidDirectory', [$path]));
}

/**
* @return static
*/
public static function forCopyError(string $path)
{
return new static(lang('Core.copyError', [$path]));
Expand Down
1 change: 1 addition & 0 deletions user_guide_src/source/outgoing/response/003.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,6 @@
];

return $this->response->setJSON($data);

// or
return $this->response->setXML($data);

0 comments on commit 015b7d9

Please sign in to comment.