Completed
Push — master ( cc3b86...e8b3d2 )
by Thomas
11:06
created
src/serializer/base/GroupSerializerTrait.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -76,9 +76,9 @@
 block discarded – undo
76 76
 	}
77 77
 
78 78
 	/**
79
-	 * @param mixed $model
79
+	 * @param \keeko\core\model\Group $model
80 80
 	 * @param mixed $data
81
-	 * @return mixed The model
81
+	 * @return \keeko\core\model\Group The model
82 82
 	 */
83 83
 	public function hydrate($model, $data) {
84 84
 		// attributes
Please login to merge, or discard this patch.
src/serializer/base/LocalizationSerializerTrait.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -85,9 +85,9 @@
 block discarded – undo
85 85
 	}
86 86
 
87 87
 	/**
88
-	 * @param mixed $model
88
+	 * @param Localization $model
89 89
 	 * @param mixed $data
90
-	 * @return mixed The model
90
+	 * @return Localization The model
91 91
 	 */
92 92
 	public function hydrate($model, $data) {
93 93
 		// attributes
Please login to merge, or discard this patch.
src/serializer/base/ModuleSerializerTrait.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -62,9 +62,9 @@
 block discarded – undo
62 62
 	}
63 63
 
64 64
 	/**
65
-	 * @param mixed $model
65
+	 * @param \keeko\core\model\Module $model
66 66
 	 * @param mixed $data
67
-	 * @return mixed The model
67
+	 * @return \keeko\core\model\Module The model
68 68
 	 */
69 69
 	public function hydrate($model, $data) {
70 70
 		// attributes
Please login to merge, or discard this patch.
src/serializer/base/PreferenceSerializerTrait.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -55,9 +55,9 @@
 block discarded – undo
55 55
 	}
56 56
 
57 57
 	/**
58
-	 * @param mixed $model
58
+	 * @param \keeko\core\model\Preference $model
59 59
 	 * @param mixed $data
60
-	 * @return mixed The model
60
+	 * @return \keeko\core\model\Preference The model
61 61
 	 */
62 62
 	public function hydrate($model, $data) {
63 63
 		// attributes
Please login to merge, or discard this patch.
src/serializer/base/SessionSerializerTrait.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -66,9 +66,9 @@
 block discarded – undo
66 66
 	}
67 67
 
68 68
 	/**
69
-	 * @param mixed $model
69
+	 * @param \keeko\core\model\Session $model
70 70
 	 * @param mixed $data
71
-	 * @return mixed The model
71
+	 * @return \keeko\core\model\Session The model
72 72
 	 */
73 73
 	public function hydrate($model, $data) {
74 74
 		// attributes
Please login to merge, or discard this patch.
src/serializer/base/UserSerializerTrait.php 2 patches
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -78,9 +78,9 @@
 block discarded – undo
78 78
 	}
79 79
 
80 80
 	/**
81
-	 * @param mixed $model
81
+	 * @param \keeko\core\model\User $model
82 82
 	 * @param mixed $data
83
-	 * @return mixed The model
83
+	 * @return \keeko\core\model\User The model
84 84
 	 */
85 85
 	public function hydrate($model, $data) {
86 86
 		// attributes
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -99,7 +99,7 @@
 block discarded – undo
99 99
 		$attribs = isset($data['attributes']) ? $data['attributes'] : [];
100 100
 
101 101
 		$service = $this->getServiceContainer();
102
-		$model = HydrateUtils::hydrate($attribs, $model, ['id', 'user-name', 'password' => function ($value) use ($service) {
102
+		$model = HydrateUtils::hydrate($attribs, $model, ['id', 'user-name', 'password' => function($value) use ($service) {
103 103
 			if (class_exists('keeko\core\normalizer\PasswordNormalizer')) {
104 104
 				$normalizer = new keeko\core\normalizer\PasswordNormalizer();
105 105
 				$normalizer->setServiceContainer($service);
Please login to merge, or discard this patch.
res/database/generated-conf/config.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -3,7 +3,7 @@
 block discarded – undo
3 3
 $serviceContainer->checkVersion('2.0.0-dev');
4 4
 $serviceContainer->setAdapterClass('keeko', 'mysql');
5 5
 $manager = new \Propel\Runtime\Connection\ConnectionManagerSingle();
6
-$manager->setConfiguration(array (
6
+$manager->setConfiguration(array(
7 7
   'dsn' => 'mysql:host=localhost;dbname=keeko',
8 8
   'user' => 'root',
9 9
   'password' => '',
Please login to merge, or discard this patch.
src/validator/constraints/UniqueUsername.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -8,6 +8,6 @@
 block discarded – undo
8 8
 	public $message = 'Username %username% is already been taken';
9 9
 	
10 10
 	public function validatedBy() {
11
-		return get_class($this).'Validator';
11
+		return get_class($this) . 'Validator';
12 12
 	}
13 13
 }
14 14
\ No newline at end of file
Please login to merge, or discard this patch.
src/validator/constraints/UniqueEmail.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -8,6 +8,6 @@
 block discarded – undo
8 8
 	public $message = 'Username %username% is already been taken';
9 9
 	
10 10
 	public function validatedBy() {
11
-		return get_class($this).'Validator';
11
+		return get_class($this) . 'Validator';
12 12
 	}
13 13
 }
14 14
\ No newline at end of file
Please login to merge, or discard this patch.