Skip to content
Extraits de code Groupes Projets
Valider 61997f45 rédigé par sgiehl's avatar sgiehl
Parcourir les fichiers

fixed namespaces

parent 883c3228
Aucune branche associée trouvée
Aucune étiquette associée trouvée
Aucune requête de fusion associée trouvée
......@@ -22,7 +22,7 @@ class Db
/**
* Returns the database adapter to use
*
* @return \Piwik\Tracker\Db|AdapterInterface
* @return \Piwik\Tracker\Db|\Piwik\Db\AdapterInterface
*/
static private function getDb()
{
......
......@@ -241,7 +241,7 @@ class ViewDataTable
$this->loadDataTableFromAPI();
} catch (\Piwik\NoAccessException $e) {
throw $e;
} catch (Exception $e) {
} catch (\Exception $e) {
Piwik::log("Failed to get data from API: " . $e->getMessage());
$this->loadingError = array('message' => $e->getMessage());
......
......@@ -10,7 +10,6 @@
*/
namespace Piwik\ViewDataTable;
use Exception;
use Piwik\Config;
use Piwik\DataTable\Renderer;
use Piwik\Piwik;
......
......@@ -36,7 +36,7 @@ class VisualizationPropertiesProxy
/**
* Constructor.
*
* @param Piwik\Visualization $visualization The visualization to get/set properties of.
* @param \Piwik\Visualization\ $visualization The visualization to get/set properties of.
*/
public function __construct($visualization)
{
......@@ -48,7 +48,7 @@ class VisualizationPropertiesProxy
*
* @param string $name A valid property name for the current visualization.
* @return mixed
* @throws Exception if the property name is invalid.
* @throws \Exception if the property name is invalid.
*/
public function &__get($name)
{
......@@ -62,7 +62,7 @@ class VisualizationPropertiesProxy
* @param string $name A valid property name for the current visualization.
* @param mixed $value
* @return mixed Returns $value.
* @throws Exception if the property name is invalid.
* @throws \Exception if the property name is invalid.
*/
public function __set($name, $value)
{
......
0% Chargement en cours ou .
You are about to add 0 people to the discussion. Proceed with caution.
Terminez d'abord l'édition de ce message.
Veuillez vous inscrire ou vous pour commenter