Skip to content

Commit d2dd7b3

Browse files
committed
Code style fixes
1 parent d83d387 commit d2dd7b3

File tree

15 files changed

+85
-42
lines changed

15 files changed

+85
-42
lines changed

lib/internal/Magento/Framework/Acl/Loader/ResourceLoader.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,9 @@
1212
use Magento\Framework\Acl\AclResource\ProviderInterface;
1313
use Magento\Framework\Acl\AclResourceFactory;
1414

15+
/**
16+
* ACL Loader
17+
*/
1518
class ResourceLoader implements \Magento\Framework\Acl\LoaderInterface
1619
{
1720
/**

lib/internal/Magento/Framework/Amqp/Queue.php

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ public function __construct(
6363
}
6464

6565
/**
66-
* {@inheritdoc}
66+
* @inheritdoc
6767
* @since 100.0.0
6868
*/
6969
public function dequeue()
@@ -98,7 +98,7 @@ public function dequeue()
9898
}
9999

100100
/**
101-
* {@inheritdoc}
101+
* @inheritdoc
102102
* @since 100.0.0
103103
*/
104104
public function acknowledge(EnvelopeInterface $envelope)
@@ -119,7 +119,7 @@ public function acknowledge(EnvelopeInterface $envelope)
119119
}
120120

121121
/**
122-
* {@inheritdoc}
122+
* @inheritdoc
123123
* @since 100.0.0
124124
*/
125125
public function subscribe($callback)
@@ -153,7 +153,7 @@ public function subscribe($callback)
153153
}
154154

155155
/**
156-
* (@inheritdoc)
156+
* @inheritdoc
157157
* @since 100.0.0
158158
*/
159159
public function reject(EnvelopeInterface $envelope, $requeue = true, $rejectionMessage = null)
@@ -172,7 +172,7 @@ public function reject(EnvelopeInterface $envelope, $requeue = true, $rejectionM
172172
}
173173

174174
/**
175-
* (@inheritdoc)
175+
* @inheritdoc
176176
* @since 100.0.0
177177
*/
178178
public function push(EnvelopeInterface $envelope)

lib/internal/Magento/Framework/Api/SearchCriteria/CollectionProcessor/JoinProcessor.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,9 @@
1010
use Magento\Framework\Api\SearchCriteriaInterface;
1111
use Magento\Framework\Data\Collection\AbstractDb;
1212

13+
/**
14+
* Search criteria join processor
15+
*/
1316
class JoinProcessor implements CollectionProcessorInterface
1417
{
1518
/**

lib/internal/Magento/Framework/App/ResourceConnection.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
/**
1313
* Application provides ability to configure multiple connections to persistent storage.
1414
* This class provides access to all these connections.
15+
*
1516
* @api
1617
*/
1718
class ResourceConnection

lib/internal/Magento/Framework/App/Utility/Classes.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,9 @@
99

1010
use Magento\Framework\Component\ComponentRegistrar;
1111

12+
/**
13+
* Utility for class names processing
14+
*/
1215
class Classes
1316
{
1417
/**

lib/internal/Magento/Framework/DataObject/Copy.php

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,11 @@
44
* See COPYING.txt for license details.
55
*/
66

7+
namespace Magento\Framework\DataObject;
8+
79
/**
810
* Utility class for copying data sets between objects
911
*/
10-
namespace Magento\Framework\DataObject;
11-
1212
class Copy
1313
{
1414
/**
@@ -116,8 +116,7 @@ protected function dispatchCopyFieldSetEvent($fieldset, $aspect, $source, $targe
116116
}
117117

118118
/**
119-
* Get data from object|array to object|array containing fields
120-
* from fieldset matching an aspect.
119+
* Get data from object|array to object|array containing fields from fieldset matching an aspect.
121120
*
122121
* @param string $fieldset
123122
* @param string $aspect a field name

lib/internal/Magento/Framework/Exception/BulkException.php

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,8 @@ public function __construct(Phrase $phrase = null, \Exception $cause = null, $co
3939
}
4040

4141
/**
42+
* Add data
43+
*
4244
* @param array $data
4345
*/
4446
public function addData($data)
@@ -47,6 +49,8 @@ public function addData($data)
4749
}
4850

4951
/**
52+
* Retrieve data
53+
*
5054
* @return array
5155
*/
5256
public function getData()

lib/internal/Magento/Framework/File/Mime.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,9 @@
66

77
namespace Magento\Framework\File;
88

9+
/**
10+
* Utility for mime type retrieval
11+
*/
912
class Mime
1013
{
1114
/**

lib/internal/Magento/Framework/Logger/Handler/Base.php

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,9 @@
1111
use Monolog\Handler\StreamHandler;
1212
use Monolog\Logger;
1313

14+
/**
15+
* Base stream handler
16+
*/
1417
class Base extends StreamHandler
1518
{
1619
/**
@@ -32,6 +35,7 @@ class Base extends StreamHandler
3235
* @param DriverInterface $filesystem
3336
* @param string $filePath
3437
* @param string $fileName
38+
* @throws \Exception
3539
*/
3640
public function __construct(
3741
DriverInterface $filesystem,
@@ -71,11 +75,7 @@ private function sanitizeFileName($fileName)
7175
}
7276

7377
/**
74-
* {@inheritDoc}
75-
*
76-
* @param array $record
77-
*
78-
* @return void
78+
* @inheritDoc
7979
*/
8080
public function write(array $record)
8181
{

lib/internal/Magento/Framework/Logger/Handler/System.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,9 @@
99
use Magento\Framework\Filesystem\DriverInterface;
1010
use Monolog\Logger;
1111

12+
/**
13+
* System stream handler
14+
*/
1215
class System extends Base
1316
{
1417
/**

0 commit comments

Comments
 (0)