File tree Expand file tree Collapse file tree 2 files changed +5
-7
lines changed
lib/internal/Magento/Framework/HTTP Expand file tree Collapse file tree 2 files changed +5
-7
lines changed Original file line number Diff line number Diff line change 4
4
* See COPYING.txt for license details.
5
5
*/
6
6
7
- // @codingStandardsIgnoreFile
8
-
9
7
/**
10
8
* HTTP CURL Adapter
11
9
*
@@ -238,7 +236,7 @@ public function close()
238
236
*/
239
237
protected function _getResource ()
240
238
{
241
- if (is_null ( $ this ->_resource ) ) {
239
+ if ($ this ->_resource === null ) {
242
240
$ this ->_resource = curl_init ();
243
241
}
244
242
return $ this ->_resource ;
Original file line number Diff line number Diff line change 4
4
* See COPYING.txt for license details.
5
5
*/
6
6
7
- // @codingStandardsIgnoreFile
8
-
9
7
namespace Magento \Framework \HTTP ;
10
8
11
9
/**
@@ -29,8 +27,10 @@ class Header
29
27
* @param \Magento\Framework\App\RequestInterface $httpRequest
30
28
* @param \Magento\Framework\Stdlib\StringUtils $converter
31
29
*/
32
- public function __construct (\Magento \Framework \App \RequestInterface $ httpRequest , \Magento \Framework \Stdlib \StringUtils $ converter )
33
- {
30
+ public function __construct (
31
+ \Magento \Framework \App \RequestInterface $ httpRequest ,
32
+ \Magento \Framework \Stdlib \StringUtils $ converter
33
+ ) {
34
34
$ this ->_request = $ httpRequest ;
35
35
$ this ->_converter = $ converter ;
36
36
}
You can’t perform that action at this time.
0 commit comments