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

fixed namespaces

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