Completed
Push — master ( 744e0c...8991f0 )
by Vitaly
03:20
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/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/generator/Generic.php 1 patch
Doc Comments   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -28,7 +28,6 @@  discard block
 block discarded – undo
28 28
      * OOP constructor.
29 29
      *
30 30
      * @param Generator                                         $generator Code generation instance
31
-     * @param \samsoncms\api\generator\metadata\GenericMetadata $Generic   Entity query metadata
32 31
      */
33 32
     public function __construct(Generator $generator, $metadata)
34 33
     {
@@ -40,7 +39,7 @@  discard block
 block discarded – undo
40 39
     /**
41 40
      * Generic class generation.
42 41
      *
43
-     * @param Generic|metadata\GenericMetadata $metadata Entity metadata
42
+     * @param Generic $metadata Entity metadata
44 43
      *
45 44
      * @return string Generated PHP class code
46 45
      */
Please login to merge, or discard this patch.
src/generator/writer/ApplicationWriter.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -6,7 +6,6 @@
 block discarded – undo
6 6
  */
7 7
 namespace samsoncms\api\generator;
8 8
 
9
-use samsonframework\orm\DatabaseInterface;
10 9
 use samsonphp\generator\Generator;
11 10
 
12 11
 /**
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
@@ -5,7 +5,6 @@
 block discarded – undo
5 5
  */
6 6
 namespace samsoncms\api;
7 7
 
8
-use samson\activerecord\StructureMaterial;
9 8
 use samsoncms\api\field\Row;
10 9
 use samsonframework\orm\QueryInterface;
11 10
 
Please login to merge, or discard this patch.
src/CMS.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -2,7 +2,6 @@
 block discarded – undo
2 2
 namespace samsoncms\api;
3 3
 
4 4
 use samson\activerecord\dbMySQLConnector;
5
-use samson\activerecord\TableRelation;
6 5
 use samsoncms\api\generator\GenericWriter;
7 6
 use samsonframework\core\ResourcesInterface;
8 7
 use samsonframework\core\SystemInterface;
Please login to merge, or discard this patch.