Skip to content

Commit

Permalink
Useless return (matomo-org#15761)
Browse files Browse the repository at this point in the history
* remove useless return

* remove useless return
  • Loading branch information
tolbon authored Apr 1, 2020
1 parent a60fb83 commit 53cc7a4
Show file tree
Hide file tree
Showing 5 changed files with 4 additions and 5 deletions.
2 changes: 1 addition & 1 deletion core/Columns/Join/ActionNameJoin.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ class ActionNameJoin extends Columns\Join
{
public function __construct()
{
return parent::__construct('log_action', 'idaction', 'name');
parent::__construct('log_action', 'idaction', 'name');
}

}
2 changes: 1 addition & 1 deletion core/Columns/Join/GoalNameJoin.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ class GoalNameJoin extends Columns\Join
{
public function __construct()
{
return parent::__construct('goal', 'idgoal', 'name');
parent::__construct('goal', 'idgoal', 'name');
}

}
2 changes: 1 addition & 1 deletion core/Columns/Join/SiteNameJoin.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ class SiteNameJoin extends Columns\Join
{
public function __construct()
{
return parent::__construct('site', 'idsite', 'name');
parent::__construct('site', 'idsite', 'name');
}

}
1 change: 0 additions & 1 deletion core/Filesystem.php
Original file line number Diff line number Diff line change
Expand Up @@ -224,7 +224,6 @@ public static function unlinkRecursive($dir, $deleteRootToo, \Closure $beforeUnl
if ($deleteRootToo) {
@rmdir($dir);
}
return;
}

/**
Expand Down
2 changes: 1 addition & 1 deletion libs/Zend/Db/Adapter/Pdo/Sqlite.php
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ public function __construct(array $config = array())
$this->_config['username'] = null;
$this->_config['password'] = null;

return parent::__construct($config);
parent::__construct($config);
}

/**
Expand Down

0 comments on commit 53cc7a4

Please sign in to comment.