Skip to content

Commit

Permalink
fix styles
Browse files Browse the repository at this point in the history
  • Loading branch information
vluzrmos committed Dec 30, 2015
1 parent e8493f8 commit c405c7b
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions src/LanguageDetector.php
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,9 @@ public function getLanguageFromCookie()
}

/**
* @param $locale
* Add cookie with locale to queue.
*
* @param string $locale
*/
public function addCookieToQueue($locale)
{
Expand All @@ -101,6 +103,9 @@ public function addCookieToQueue($locale)
}

/**
* Determine if should use cookies.
* false or null will disable feature, string will set cookie name.
*
* @param string|bool|null $cookieName
*/
public function useCookies($cookieName = 'locale')
Expand Down Expand Up @@ -154,7 +159,7 @@ public function addCallback(Closure $callback)
/**
* Call all registered callbacks.
*
* @param $language
* @param string $language
*/
protected function applyCallbacks($language)
{
Expand Down

0 comments on commit c405c7b

Please sign in to comment.