Skip to content

Commit

Permalink
coding style
Browse files Browse the repository at this point in the history
  • Loading branch information
tsteur committed Oct 30, 2013
1 parent 17927cb commit 040a744
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions plugins/MultiSites/API.php
Original file line number Diff line number Diff line change
Expand Up @@ -484,7 +484,7 @@ private static function getLastPeriodMetadataName($name)
}

/**
* @param $dataTable
* @param DataTable|DataTable\Map $dataTable
* @param $fieldsToGet
* @param $sitesToProblablyAdd
*/
Expand All @@ -499,7 +499,7 @@ private function addMissingWebsites($dataTable, $fieldsToGet, $sitesToProblablyA
foreach ($sitesToProblablyAdd as $site) {
if (!in_array($site['idsite'], $siteIdsInDataTable)) {
$siteRow = array_combine($fieldsToGet, array_pad(array(), count($fieldsToGet), 0));
$siteRow['label'] = (int)$site['idsite'];
$siteRow['label'] = (int) $site['idsite'];
$dataTable->addRowFromSimpleArray($siteRow);
}
}
Expand Down

0 comments on commit 040a744

Please sign in to comment.