Skip to content

Commit 1e9c163

Browse files
committed
Fixed #4, More intuitive order of parameters and add default values
1 parent 86a7431 commit 1e9c163

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/Activity.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,7 @@ public function logsCount($whereArray)
129129
public function logs($where = [], $order = 'id', $sort = 'DESC', $limit = 30, $start = 0)
130130
{
131131
$logs = $this->driver->logs($where, $order, $sort, $limit, $start);
132-
if (isset($logs['return']) AND $logs['return'] === true) {
132+
if (isset($logs['return']) and $logs['return'] === true) {
133133
foreach ($logs['data'] as $key => $value) {
134134
if (isset($value['log_type'])) {
135135
$explode = explode(".", $value['log_type']);

0 commit comments

Comments
 (0)