Toggle navigation
Toggle navigation
This project
Loading...
Sign in
Satini_pvduc
/
daito-utils
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Graphs
Network
Create a new issue
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
Authored by
RESAZIP-PC\resaz
2026-03-08 23:06:02 +0700
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
Commit
f469358defd30f4adde9672a35ac18c64c30cc94
f469358d
1 parent
dbf65d6d
update daitoresponse
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
3 deletions
src/DaitoResponse.php
src/DaitoResponse.php
View file @
f469358
...
...
@@ -27,12 +27,11 @@ class DaitoResponse
*/
public
static
function
make
(
$isSuccess
,
$message
,
array
$arrData
=
array
(),
$statusCode
=
200
)
{
return
array
(
return
array
_merge
(
array
(
'success'
=>
$isSuccess
?
1
:
0
,
'message'
=>
(
string
)
$message
,
'data'
=>
$arrData
,
'status_code'
=>
(
int
)
$statusCode
,
);
)
,
$arrData
)
;
}
/**
...
...
Please
register
or
sign in
to post a comment