Skip to content

Commit c601bc8

Browse files
committed
Fixed the function access level.
Functions like build. log, and log were protected and inaccessible. Now, fixed are public for now.
1 parent 0d5c3ab commit c601bc8

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Actions/LogBase.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ abstract class LogBase
2626
* This will call the LogAction class's constructor & log function.
2727
* @return bool
2828
*/
29-
protected function log(): bool
29+
public function log(): bool
3030
{
3131
$logAction = new LogAction($this->actionLog);
3232
return $logAction->log();
@@ -38,7 +38,7 @@ protected function log(): bool
3838
* @return array
3939
* @throws SqlServicesException
4040
*/
41-
protected function build(): array
41+
public function build(): array
4242
{
4343
// Step 1. Build the queryLog.
4444
$buildAction = new BuildQuery($this->actionLog);
@@ -51,7 +51,7 @@ protected function build(): array
5151
* @return Database
5252
* @throws SqlServicesException
5353
*/
54-
protected function execute(): Database
54+
public function execute(): Database
5555
{
5656
// Step 1. Build the queryLog.
5757
$buildAction = new BuildQuery($this->actionLog);

0 commit comments

Comments
 (0)