Skip to content

Commit b606003

Browse files
author
v.sikailo
committed
- small phpDocs fixes
1 parent 8c2e178 commit b606003

File tree

5 files changed

+6
-6
lines changed

5 files changed

+6
-6
lines changed

app/code/Magento/Theme/Controller/Adminhtml/System/Design/Theme/UploadJs.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@ class UploadJs extends \Magento\Theme\Controller\Adminhtml\System\Design\Theme
1616
* Upload js file
1717
*
1818
* @return void
19-
* @throws \Magento\Framework\Exception\LocalizedException
2019
*/
2120
public function execute()
2221
{

app/code/Magento/Theme/Model/Design/Backend/File.php

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,9 @@ public function beforeSave()
117117
}
118118

119119
/**
120-
* @return array
120+
* @return File
121+
*
122+
* @throws LocalizedException
121123
*/
122124
public function afterLoad()
123125
{

app/code/Magento/Theme/Model/Design/Config/FileUploader/FileProcessor.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,8 +79,8 @@ public function __construct(
7979
* Save file to temp media directory
8080
*
8181
* @param string $fileId
82+
*
8283
* @return array
83-
* @throws LocalizedException
8484
*/
8585
public function saveToTmp($fileId)
8686
{

app/code/Magento/Theme/Model/ResourceModel/Design.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ protected function _construct()
4646
* Perform actions before object save
4747
*
4848
* @param \Magento\Framework\Model\AbstractModel $object
49-
* @return $this
49+
* @return void
5050
* @throws \Magento\Framework\Exception\LocalizedException
5151
*/
5252
public function _beforeSave(\Magento\Framework\Model\AbstractModel $object)
@@ -152,7 +152,6 @@ protected function _checkIntersection($storeId, $dateFrom, $dateTo, $currentId)
152152
$dateConditions = [];
153153
}
154154

155-
$condition = '';
156155
if (!empty($dateConditions)) {
157156
$condition = '(' . implode(') OR (', $dateConditions) . ')';
158157
$select->where($condition);

app/code/Magento/Theme/Model/Wysiwyg/Storage.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ public function __construct(
110110
* Upload file
111111
*
112112
* @param string $targetPath
113-
* @return bool
113+
* @return array
114114
* @throws \Magento\Framework\Exception\LocalizedException
115115
*/
116116
public function uploadFile($targetPath)

0 commit comments

Comments
 (0)