Skip to content

Commit

Permalink
Merge pull request #21 from agroviva/analysis-qMjew2
Browse files Browse the repository at this point in the history
Apply fixes from StyleCI
  • Loading branch information
emorinaj authored Feb 26, 2019
2 parents 00832de + 4800376 commit 2dd3d94
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/DB.php
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,9 @@ public function Query($sql)
return $this;
}

public static function Run($sql){
return (new DB())->Query($sql);
public static function Run($sql)
{
return (new self())->Query($sql);
}

public static function Get($query)
Expand Down

0 comments on commit 2dd3d94

Please sign in to comment.