Skip to content

Commit 7c5ca02

Browse files
committed
Stuff
1 parent 27c0d18 commit 7c5ca02

File tree

4 files changed

+8
-5
lines changed

4 files changed

+8
-5
lines changed

Services/Facades/ComponentEventDispatcherFacade.php

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,10 @@
88
* Class EventDispatcherFacade
99
* @package Prokl\BitrixOrdinaryToolsBundle\Services\Facades
1010
*
11-
* @method static dispatch($event) : void
11+
* @method static mixed dispatch($event, $params)
12+
* @method static mixed applyListeners()
13+
* @method static void addListener(string $eventName, $listener, int $priority = 0)
14+
* @method static void removeListener(string $eventName, $listener)
1215
*/
1316
class ComponentEventDispatcherFacade extends AbstractFacade
1417
{

Services/Iblock/IBlockPropertyManager.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010
/**
1111
* Class IBlockPropertyManager
1212
* @package Prokl\BitrixOrdinaryToolsBundle\Services\Iblock
13+
*
1314
*/
1415
class IBlockPropertyManager
1516
{

Services/Iblock/IBlockSectionManager.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,13 +16,13 @@ class IBlockSectionManager
1616
/**
1717
* Имя раздела инфоблока или пустую строку.
1818
*
19-
* @param integer $iSectionID ИД раздела инфоблока.
19+
* @param integer $idSection ИД раздела инфоблока.
2020
*
2121
* @return string
2222
*/
23-
public function getSBlockSectionNameByID(int $iSectionID): string
23+
public function getSBlockSectionNameByID(int $idSection): string
2424
{
25-
$obBlockResult = CIBlockSection::GetByID($iSectionID);
25+
$obBlockResult = CIBlockSection::GetByID($idSection);
2626

2727
if ($arSection = $obBlockResult->GetNext()) {
2828
return $arSection['NAME'];

Services/Iblock/IblockElementManager.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,6 @@ public function getIBlockElementsCached(
7171
array $arParams = ['AR_ORDER', 'AR_FILTER', 'NAV_PARAMS', 'AR_GROUP', 'AR_SELECT'],
7272
bool $bDisableProperties = false
7373
) : array {
74-
/** @noinspection PhpUndefinedMethodInspection */
7574
return CacherFacade::setCacheId(md5(serialize(array_values($arParams))))
7675
->setCallback([$this, 'getIBlockElements'])
7776
->setCallbackParams($arParams, $bDisableProperties)

0 commit comments

Comments
 (0)