Completed
Push — master ( e47441...eaeba7 )
by Nekrasov
01:50
created
src/Queries/BaseQuery.php 2 patches
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -222,7 +222,7 @@  discard block
 block discarded – undo
222 222
     /**
223 223
      * Setter for select.
224 224
      *
225
-     * @param $value
225
+     * @param string $value
226 226
      *
227 227
      * @return $this
228 228
      */
@@ -443,8 +443,8 @@  discard block
 block discarded – undo
443 443
      * Set $array[$new] as $array[$old] and delete $array[$old].
444 444
      *
445 445
      * @param array $array
446
-     * @param $old
447
-     * @param $new
446
+     * @param string $old
447
+     * @param string $new
448 448
      *
449 449
      * return null
450 450
      */
Please login to merge, or discard this patch.
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.
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/Helpers.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -11,7 +11,7 @@
 block discarded – undo
11 11
      * Does the $haystack starts with $needle
12 12
      *
13 13
      * @param $haystack
14
-     * @param $needle
14
+     * @param string $needle
15 15
      * @return bool
16 16
      */
17 17
     public static function startsWith($haystack, $needle)
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.