Passed
Push — master ( 5928a0...6c7f1e )
by dima
02:51
created
src/Adapter/CodeigniterQueryBuilder.php 1 patch
Doc Comments   +6 added lines, -4 removed lines patch added patch discarded remove patch
@@ -66,6 +66,9 @@  discard block
 block discarded – undo
66 66
 		return $this->adapter->delete($table,$where);
67 67
 	}
68 68
 
69
+	/**
70
+	 * @param string $str
71
+	 */
69 72
 	protected function escape_str($str, $like = FALSE)
70 73
 	{
71 74
 
@@ -120,7 +123,6 @@  discard block
 block discarded – undo
120 123
 	
121 124
 	/**
122 125
 	 * 
123
-	 * @param type $param
124 126
 	 */
125 127
 	public function getResultQuery($table,\SimpleORM\ISpecificationCriteria $Criteria ) {
126 128
 		
@@ -155,7 +157,7 @@  discard block
 block discarded – undo
155 157
 	/**
156 158
 	 * Создает селект не только для основной таблицы но и для приджойненых таблиц
157 159
 	 * @param type $joins
158
-	 * @return type
160
+	 * @return string
159 161
 	 */
160 162
 	protected function createSelect($joins)
161 163
 	{
@@ -171,8 +173,8 @@  discard block
 block discarded – undo
171 173
 	/**
172 174
 	 * Получение записей по условию
173 175
 	 * @param type $where
174
-	 * @param type $limit
175
-	 * @param type $offset
176
+	 * @param integer $limit
177
+	 * @param integer $offset
176 178
 	 * @param type $joins
177 179
 	 * @param type $order
178 180
 	 * @param type $manualJoins
Please login to merge, or discard this patch.
tests/bootstrap.php 1 patch
Doc Comments   +7 added lines, -3 removed lines patch added patch discarded remove patch
@@ -5,8 +5,8 @@  discard block
 block discarded – undo
5 5
     
6 6
     /**
7 7
      * получение защищенного свойства
8
-     * @param type $o
9
-     * @param type $name
8
+     * @param string $name
9
+     * @param SimpleORM\AbstractDataMapper $obj
10 10
      * @return type
11 11
      */
12 12
     static public function getProtectedAttribute($obj, $name)
@@ -20,7 +20,7 @@  discard block
 block discarded – undo
20 20
     /**
21 21
      * Добавление значения в защищенное свойтсво
22 22
      * @param type $name
23
-     * @param type $valued 
23
+     * @param type $value 
24 24
      */
25 25
     private function setValueprotectedProperty($name, $value)
26 26
     {
@@ -30,6 +30,10 @@  discard block
 block discarded – undo
30 30
         $r->setValue($this->object, $value); //изменяем значение
31 31
     }    
32 32
 	
33
+	/**
34
+	 * @param SimpleORM\AbstractDataMapper $obj
35
+	 * @param string $name
36
+	 */
33 37
 	static public function callMethod($obj, $name, array $args) {
34 38
         $class = new \ReflectionClass($obj);
35 39
         $method = $class->getMethod($name);
Please login to merge, or discard this patch.
example/Domain/UserGroup/UserGroup.php 1 patch
Doc Comments   +4 added lines patch added patch discarded remove patch
@@ -18,6 +18,10 @@
 block discarded – undo
18 18
 	
19 19
 	protected $title;
20 20
 	
21
+	/**
22
+	 * @param string $code
23
+	 * @param string $title
24
+	 */
21 25
 	function __construct($code,$title){
22 26
 		$this->setCode($code);
23 27
 		$this->setTitle($title);
Please login to merge, or discard this patch.
src/AbstractDataMapper.php 1 patch
Doc Comments   +4 added lines, -3 removed lines patch added patch discarded remove patch
@@ -303,9 +303,9 @@  discard block
 block discarded – undo
303 303
 	/**
304 304
 	 * Подготавливаем конечный вариант Сущности
305 305
 	 * 
306
-	 * @param \Core\Infrastructure\EntityInterface $Entity
306
+	 * @param EntityInterface $Entity
307 307
 	 * @param array $row
308
-	 * @return \Core\Infrastructure\EntityInterface
308
+	 * @return EntityInterface
309 309
 	 * @throws BadMethodCallException
310 310
 	 */
311 311
 	protected function buildEntity(EntityInterface $Entity, array $row){
@@ -355,7 +355,7 @@  discard block
 block discarded – undo
355 355
 	
356 356
 	/**
357 357
 	 * из объекта формирует массив
358
-	 * @param \Core\Infrastructure\EntityInterface $Entity
358
+	 * @param EntityInterface $Entity
359 359
 	 * @return \Core\Infrastructure\EntityInterface
360 360
 	 * @throws BadMethodCallException
361 361
 	 */
@@ -400,6 +400,7 @@  discard block
 block discarded – undo
400 400
 	
401 401
 	/**
402 402
 	 * Установка поля для маппинга
403
+	 * @param string $alias
403 404
 	 */
404 405
 	protected function addMappingField($alias,$field = null){
405 406
 		
Please login to merge, or discard this patch.
example/Domain/City/City.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -16,6 +16,9 @@
 block discarded – undo
16 16
 
17 17
 	protected $name;
18 18
 	
19
+	/**
20
+	 * @param string $name
21
+	 */
19 22
 	function __construct($name) {
20 23
 		$this->setName($name);
21 24
 	}
Please login to merge, or discard this patch.
example/Domain/User/User.php 1 patch
Doc Comments   +5 added lines patch added patch discarded remove patch
@@ -22,6 +22,11 @@
 block discarded – undo
22 22
 	protected $group;
23 23
 	protected $address;
24 24
 			
25
+	/**
26
+	 * @param string $name
27
+	 * @param string $email
28
+	 * @param string $password
29
+	 */
25 30
 	function __construct($name, $email, $password, UserGroup $Group) {
26 31
 		$this->setName($name);
27 32
 		$this->setEmail($email);
Please login to merge, or discard this patch.
example/Domain/UserAddress/UserAddress.php 1 patch
Doc Comments   +4 added lines patch added patch discarded remove patch
@@ -22,6 +22,10 @@
 block discarded – undo
22 22
 	
23 23
 	protected $city;
24 24
 
25
+	/**
26
+	 * @param string $code
27
+	 * @param string $street
28
+	 */
25 29
 	function __construct(City $City,$code,$street) {
26 30
 		$this->setCity($City);
27 31
 		$this->setCode($code);
Please login to merge, or discard this patch.