Completed
Pull Request — master (#29)
by
unknown
01:42
created
src/Queries/BaseQuery.php 2 patches
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -6,7 +6,6 @@
 block discarded – undo
6 6
 use BadMethodCallException;
7 7
 use Bitrix\Main\Data\Cache;
8 8
 use Closure;
9
-use CPHPCache;
10 9
 use Illuminate\Pagination\Paginator;
11 10
 use Illuminate\Pagination\LengthAwarePaginator;
12 11
 use Illuminate\Support\Collection;
Please login to merge, or discard this patch.
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -478,8 +478,8 @@
 block discarded – undo
478 478
      * Set $array[$new] as $array[$old] and delete $array[$old].
479 479
      *
480 480
      * @param array $array
481
-     * @param $old
482
-     * @param $new
481
+     * @param string $old
482
+     * @param string $new
483 483
      *
484 484
      * return null
485 485
      */
Please login to merge, or discard this patch.
src/Queries/BaseRelationQuery.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -141,7 +141,7 @@
 block discarded – undo
141 141
     /**
142 142
      * Подгрузить связанные модели для уже загруденных моделей
143 143
      * @param array $with - массив релейшенов, которые необходимо подгрузить
144
-     * @param Collection|BaseBitrixModel[] $models модели, для которых загружать связи
144
+     * @param Collection $models модели, для которых загружать связи
145 145
      */
146 146
     public function findWith($with, &$models)
147 147
     {
Please login to merge, or discard this patch.
src/Models/BaseBitrixModel.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -464,7 +464,7 @@
 block discarded – undo
464 464
     /**
465 465
      * Setter for currentLanguage.
466 466
      *
467
-     * @param $language
467
+     * @param string $language
468 468
      * @return mixed
469 469
      */
470 470
     public static function setCurrentLanguage($language)
Please login to merge, or discard this patch.