Skip to content

Commit 09ae107

Browse files
authored
Add missing method
1 parent a6a00ac commit 09ae107

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

src/Helpers/FinalInstallManager.php

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,4 +62,20 @@ private static function publishVendorAssets($outputLog)
6262

6363
return $outputLog;
6464
}
65+
66+
/**
67+
* Return a formatted error messages.
68+
*
69+
* @param $message
70+
* @param collection $outputLog
71+
* @return array
72+
*/
73+
private function response($message, $outputLog)
74+
{
75+
return [
76+
'status' => 'error',
77+
'message' => $message,
78+
'dbOutputLog' => $outputLog->fetch()
79+
];
80+
}
6581
}

0 commit comments

Comments
 (0)