Completed
Push — master ( 6745e3...3205ef )
by Vitaly
02:47
created
src/query/Relational.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -95,7 +95,7 @@
 block discarded – undo
95 95
     /**
96 96
      * Retrieve entities from database.
97 97
      *
98
-     * @param string|array $relationID Relation entity identifier or collection
98
+     * @param string $relationID Relation entity identifier or collection
99 99
      * @param mixed $relationValue Relation entity value
100 100
      * @param string $executor Query execution function name
101 101
      * @return mixed[] Collection of entity instances for this relation identifier
Please login to merge, or discard this patch.
src/query/Generic.php 1 patch
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -129,6 +129,7 @@
 block discarded – undo
129 129
      *
130 130
      * @param string $fieldName Entity field name
131 131
      * @param string $fieldValue Value
132
+     * @param string $fieldRelation
132 133
      * @return self Chaining
133 134
      */
134 135
     public function where($fieldName, $fieldValue = null, $fieldRelation = ArgumentInterface::EQUAL)
Please login to merge, or discard this patch.
src/Gallery.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -7,7 +7,6 @@
 block discarded – undo
7 7
  */
8 8
 namespace samsoncms\api;
9 9
 
10
-use samson\cms\CMSGallery;
11 10
 use samsoncms\api\MaterialField;
12 11
 use samsonframework\orm\QueryInterface;
13 12
 
Please login to merge, or discard this patch.
src/Material.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -7,7 +7,6 @@
 block discarded – undo
7 7
  */
8 8
 namespace samsoncms\api\query;
9 9
 
10
-use samson\activerecord\dbQuery;
11 10
 use samsoncms\api\Field;
12 11
 use samsonframework\orm\ArgumentInterface;
13 12
 use samsonframework\orm\Condition;
Please login to merge, or discard this patch.
src/query/MaterialField.php 2 patches
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -12,7 +12,6 @@
 block discarded – undo
12 12
 use samsoncms\api\Field;
13 13
 use samsoncms\api\CMS;
14 14
 use samsonframework\orm\Condition;
15
-use samsonframework\orm\ArgumentInterface;
16 15
 use samsonframework\orm\ConditionInterface;
17 16
 
18 17
 /**
Please login to merge, or discard this patch.
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -42,7 +42,7 @@
 block discarded – undo
42 42
      * Get current entity identifiers collection by relation identifier ans its value.
43 43
      *
44 44
      * @param string $relationID Relation entity identifier
45
-     * @param mixed|Condition $relationValue Relation entity value or relation condition
45
+     * @param Condition $relationValue Relation entity value or relation condition
46 46
      * @param array $filteringIDs Collection of entity identifiers for filtering query
47 47
      * @return array Collection of entity identifiers filtered by navigation identifier.
48 48
      */
Please login to merge, or discard this patch.
src/query/Entity.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -340,7 +340,7 @@
 block discarded – undo
340 340
      *
341 341
      * @param \samsoncms\api\Entity $entity Entity instance for filling
342 342
      * @param array $additionalFields Collection of additional field values
343
-     * @return Entity With filled additional field values
343
+     * @return \samsoncms\api\Entity With filled additional field values
344 344
      */
345 345
     protected function fillEntityFields(\samsoncms\api\Entity $entity, array $additionalFields)
346 346
     {
Please login to merge, or discard this patch.
src/CMS.php 1 patch
Unused Use Statements   -4 removed lines patch added patch discarded remove patch
@@ -12,11 +12,7 @@
 block discarded – undo
12 12
 use samsoncms\api\generator\Collection;
13 13
 use samsoncms\api\generator\Entity;
14 14
 use samsoncms\api\generator\Gallery;
15
-use samsoncms\api\generator\Metadata;
16 15
 use samsoncms\api\generator\Query;
17
-use samsoncms\api\generator\Analyzer;
18
-
19
-use samsoncms\application\GeneratorApplication;
20 16
 use samsonframework\core\ResourcesInterface;
21 17
 use samsonframework\core\SystemInterface;
22 18
 use samson\activerecord\TableRelation;
Please login to merge, or discard this patch.
src/generator/Generic.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -25,7 +25,7 @@  discard block
 block discarded – undo
25 25
      * OOP constructor.
26 26
      *
27 27
      * @param Generator $generator Code generation instance
28
-     * @param \samsoncms\api\generator\metadata\Generic  $Generic Entity query metadata
28
+     * @param metadata\Virtual $metadata
29 29
      */
30 30
     public function __construct(Generator $generator, $metadata)
31 31
     {
@@ -36,7 +36,7 @@  discard block
 block discarded – undo
36 36
     /**
37 37
      * Generic class generation.
38 38
      *
39
-     * @param \samsoncms\api\generator\metadata\Generic $metadata Entity metadata
39
+     * @param Generic $metadata Entity metadata
40 40
      *
41 41
      * @return string Generated PHP class code
42 42
      */
Please login to merge, or discard this patch.