Completed
Pull Request — master (#11)
by Dima
02:23
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/Generator.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -8,7 +8,6 @@
 block discarded – undo
8 8
 namespace samsoncms\api;
9 9
 
10 10
 use samson\activerecord\dbMySQLConnector;
11
-use samson\cms\CMSMaterial;
12 11
 use samsoncms\api\query\Generic;
13 12
 use samsonframework\orm\DatabaseInterface;
14 13
 
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/CMS.php 2 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -60,7 +60,7 @@
 block discarded – undo
60 60
      * Module initialization.
61 61
      *
62 62
      * @param array $params Initialization parameters
63
-     * @return bool Initialization result
63
+     * @return boolean|null Initialization result
64 64
      */
65 65
     public function init(array $params = array())
66 66
     {
Please login to merge, or discard this patch.
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -8,8 +8,6 @@
 block discarded – undo
8 8
 require('generated/Structure.php');
9 9
 require('generated/StructureField.php');
10 10
 
11
-use samsonframework\core\RequestInterface;
12
-use samson\activerecord\dbQuery;
13 11
 use samsonframework\core\ResourcesInterface;
14 12
 use samsonframework\core\SystemInterface;
15 13
 use samson\activerecord\TableRelation;
Please login to merge, or discard this patch.