Fix CS lib/classes

This commit is contained in:
Romain Neutron
2013-01-29 16:39:02 +01:00
parent 53206af159
commit 4414892b91
108 changed files with 178 additions and 249 deletions

View File

@@ -226,9 +226,9 @@ class random
/**
* Get the validation token for one user and one validation basket
*
* @param integer $userId
* @param integer $basketId
* @return string The desired token
* @param integer $userId
* @param integer $basketId
* @return string The desired token
* @throws \Exception_NotFound
*/
public static function getValidationToken(Application $app, $userId, $basketId)
@@ -250,7 +250,7 @@ class random
$row = $stmt->fetch(PDO::FETCH_ASSOC);
$stmt->closeCursor();
if ( ! $row) {
if (! $row) {
throw new \Exception_NotFound('Token not found');
}