X-Git-Url: http://git.cyclocoop.org/?a=blobdiff_plain;f=includes%2Fsite%2FSiteSQLStore.php;h=f382d9880ccfb4804470de53f9351f8862866f52;hb=27f8aa732e55f0655255152fa22655fa07424c2d;hp=7bf933c120a76f2c0052ec36c0a0134bc61f02f3;hpb=71fc56f11bdb1de5af9d7ac6abbed45b5b39aee7;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/site/SiteSQLStore.php b/includes/site/SiteSQLStore.php index 7bf933c120..f382d9880c 100644 --- a/includes/site/SiteSQLStore.php +++ b/includes/site/SiteSQLStore.php @@ -29,7 +29,6 @@ * @author Jeroen De Dauw < jeroendedauw@gmail.com > */ class SiteSQLStore implements SiteStore { - /** * @since 1.21 * @@ -90,7 +89,7 @@ class SiteSQLStore implements SiteStore { * * @see SiteList::getSerialVersionId * - * @return String The cache key. + * @return string The cache key. */ protected function getCacheKey() { wfProfileIn( __METHOD__ ); @@ -115,7 +114,7 @@ class SiteSQLStore implements SiteStore { * * @since 1.21 * - * @param string $source either 'cache' or 'recache' + * @param string $source Either 'cache' or 'recache' * * @return SiteList */ @@ -169,7 +168,10 @@ class SiteSQLStore implements SiteStore { } if ( $siteRow->hasField( 'language' ) ) { - $site->setLanguageCode( $siteRow->getField( 'language' ) === '' ? null : $siteRow->getField( 'language' ) ); + $site->setLanguageCode( $siteRow->getField( 'language' ) === '' + ? null + : $siteRow->getField( 'language' ) + ); } if ( $siteRow->hasField( 'source' ) ) { @@ -287,7 +289,7 @@ class SiteSQLStore implements SiteStore { * * @param Site $site * - * @return boolean Success indicator + * @return bool Success indicator */ public function saveSite( Site $site ) { return $this->saveSites( array( $site ) ); @@ -300,7 +302,7 @@ class SiteSQLStore implements SiteStore { * * @param Site[] $sites * - * @return boolean Success indicator + * @return bool Success indicator */ public function saveSites( array $sites ) { wfProfileIn( __METHOD__ ); @@ -390,7 +392,7 @@ class SiteSQLStore implements SiteStore { * * @see SiteStore::clear() * - * @return bool success + * @return bool Success */ public function clear() { wfProfileIn( __METHOD__ ); @@ -468,7 +470,7 @@ class Sites extends SiteSQLStore { * @since 1.21 * @deprecated * - * @param string|boolean false $globalId + * @param string|bool $globalId * * @return Site */ @@ -498,10 +500,10 @@ class Sites extends SiteSQLStore { /** * @deprecated + * @param string $group * @return SiteList */ public function getSiteGroup( $group ) { return $this->getSites()->getGroup( $group ); } - }