Completed
Pull Request — development (#100)
by
unknown
08:09
created
application/modules/CMSFactory/PropelBaseModelClass.php 1 patch
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -31,7 +31,7 @@  discard block
 block discarded – undo
31 31
 
32 32
     /**
33 33
      * @param MY_Form_validation $validator
34
-     * @return mixed
34
+     * @return MY_Form_validation
35 35
      */
36 36
     public function validateCustomData($validator) {
37 37
         if (!empty($this->entityName)) {
@@ -62,7 +62,7 @@  discard block
 block discarded – undo
62 62
     /**
63 63
      * @param string $entityName
64 64
      * @param int $id
65
-     * @return bool
65
+     * @return null|false
66 66
      */
67 67
     public function collectCustomData($entityName, $id) {
68 68
         $this->entityId = $id;
@@ -82,7 +82,7 @@  discard block
 block discarded – undo
82 82
 
83 83
     /**
84 84
      * @param int $key
85
-     * @return bool
85
+     * @return boolean|null
86 86
      */
87 87
     public function curentPostEntitySave($key) {
88 88
         $entity = CustomFieldsQuery::create()->findPk($key);
Please login to merge, or discard this patch.
application/modules/core/core.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -1,6 +1,5 @@
 block discarded – undo
1 1
 <?php
2 2
 
3
-use CMSFactory\DependencyInjection\DependencyInjectionProvider;
4 3
 use CMSFactory\Events;
5 4
 use core\src\CoreFactory;
6 5
 
Please login to merge, or discard this patch.
application/modules/core/models/Base/Route.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -287,7 +287,7 @@  discard block
 block discarded – undo
287 287
      *
288 288
      * @param  string  $msg
289 289
      * @param  int     $priority One of the Propel::LOG_* logging levels
290
-     * @return boolean
290
+     * @return boolean|null
291 291
      */
292 292
     protected function log($msg, $priority = Propel::LOG_INFO)
293 293
     {
@@ -933,7 +933,7 @@  discard block
 block discarded – undo
933 933
      * TableMap::TYPE_COLNAME, TableMap::TYPE_FIELDNAME, TableMap::TYPE_NUM.
934 934
      * The default key type is the column's TableMap::TYPE_PHPNAME.
935 935
      *
936
-     * @param mixed $parser A AbstractParser instance,
936
+     * @param string $parser A AbstractParser instance,
937 937
      *                       or a format name ('XML', 'YAML', 'JSON', 'CSV')
938 938
      * @param string $data The source data to import from
939 939
      * @param string $keyType The type of keys the array uses.
Please login to merge, or discard this patch.
application/modules/core/models/Base/RouteQuery.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -499,7 +499,7 @@  discard block
 block discarded – undo
499 499
      *                                   to be used as main alias in the secondary query
500 500
      * @param     string $joinType Accepted values are null, 'left join', 'right join', 'inner join'
501 501
      *
502
-     * @return \SCategoryQuery A secondary query class using the current class as primary query
502
+     * @return ModelCriteria A secondary query class using the current class as primary query
503 503
      */
504 504
     public function useSCategoryQuery($relationAlias = null, $joinType = Criteria::LEFT_JOIN)
505 505
     {
@@ -572,7 +572,7 @@  discard block
 block discarded – undo
572 572
      *                                   to be used as main alias in the secondary query
573 573
      * @param     string $joinType Accepted values are null, 'left join', 'right join', 'inner join'
574 574
      *
575
-     * @return \SProductsQuery A secondary query class using the current class as primary query
575
+     * @return ModelCriteria A secondary query class using the current class as primary query
576 576
      */
577 577
     public function useSProductsQuery($relationAlias = null, $joinType = Criteria::LEFT_JOIN)
578 578
     {
Please login to merge, or discard this patch.
application/modules/core/models/Map/RouteTableMap.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -245,7 +245,7 @@
 block discarded – undo
245 245
      * @param string $indexType One of the class type constants TableMap::TYPE_PHPNAME, TableMap::TYPE_CAMELNAME
246 246
      *                           TableMap::TYPE_COLNAME, TableMap::TYPE_FIELDNAME, TableMap::TYPE_NUM
247 247
      *
248
-     * @return mixed The primary key of the row
248
+     * @return integer The primary key of the row
249 249
      */
250 250
     public static function getPrimaryKeyFromRow($row, $offset = 0, $indexType = TableMap::TYPE_NUM)
251 251
     {
Please login to merge, or discard this patch.
application/modules/core/models/Route.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -3,7 +3,6 @@
 block discarded – undo
3 3
 namespace core\models;
4 4
 
5 5
 use core\models\Base\Route as BaseRoute;
6
-use core\src\CoreConfiguration;
7 6
 use core\src\CoreFactory;
8 7
 use Propel\Runtime\ActiveQuery\Criteria;
9 8
 use Propel\Runtime\Collection\ObjectCollection;
Please login to merge, or discard this patch.
application/modules/core/src/Controller/PageController.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -7,6 +7,9 @@
 block discarded – undo
7 7
 {
8 8
     const PAGE_TPL_DEFAULT = 'page_full';
9 9
 
10
+    /**
11
+     * @param integer $id
12
+     */
10 13
     public function index($id) {
11 14
 
12 15
         $page = $this->model->getPage($id);
Please login to merge, or discard this patch.
application/modules/core/src/CoreModel.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -798,7 +798,7 @@
 block discarded – undo
798 798
     /**
799 799
      * Check user access for page
800 800
      * @param array $roles
801
-     * @return bool
801
+     * @return boolean|null
802 802
      */
803 803
     public function check_page_access($roles) {
804 804
 
Please login to merge, or discard this patch.
application/modules/core/src/Kernel.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -4,7 +4,6 @@
 block discarded – undo
4 4
 use CMSFactory\Events;
5 5
 use core\src\Exception\PageNotFoundException;
6 6
 use Doctrine\Common\Cache\CacheProvider;
7
-
8 7
 use Symfony\Component\Debug\Debug;
9 8
 use Symfony\Component\Debug\DebugClassLoader;
10 9
 use Symfony\Component\Debug\ErrorHandler;
Please login to merge, or discard this patch.