Skip to content
This repository was archived by the owner on Apr 29, 2019. It is now read-only.

Commit a38250e

Browse files
author
Stanislav Idolov
committed
magento-engcom/magento2ce#2299: Code style fixes
1 parent f0c2495 commit a38250e

File tree

3 files changed

+35
-35
lines changed

3 files changed

+35
-35
lines changed

app/code/Magento/Catalog/Model/AbstractModel.php

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -282,9 +282,9 @@ public function getWebsiteStoreIds()
282282
*
283283
* Default value existing is flag for using store value in data
284284
*
285-
* @param string $attributeCode
286-
* @param mixed $value
287-
* @return $this
285+
* @param string $attributeCode
286+
* @param mixed $value
287+
* @return $this
288288
*
289289
* @deprecated 101.0.0
290290
*/
@@ -332,11 +332,10 @@ public function getAttributeDefaultValue($attributeCode)
332332
}
333333

334334
/**
335-
* Set attribute code flag if attribute has value in current store and does not use
336-
* value of default store as value
335+
* Set attribute code flag if attribute has value in current store and does not use value of default store as value
337336
*
338-
* @param string $attributeCode
339-
* @return $this
337+
* @param string $attributeCode
338+
* @return $this
340339
*
341340
* @deprecated 101.0.0
342341
*/

app/code/Magento/Sales/Model/Order/Address.php

Lines changed: 28 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -173,7 +173,7 @@ protected function implodeStreetValue($value)
173173
* Enforce format of the street field
174174
*
175175
* @param array|string $key
176-
* @param null $value
176+
* @param array|string $value
177177
* @return $this
178178
*/
179179
public function setData($key, $value = null)
@@ -508,207 +508,207 @@ public function getVatRequestSuccess()
508508
}
509509

510510
/**
511-
* {@inheritdoc}
511+
* @inheritdoc
512512
*/
513513
public function setParentId($id)
514514
{
515515
return $this->setData(OrderAddressInterface::PARENT_ID, $id);
516516
}
517517

518518
/**
519-
* {@inheritdoc}
519+
* @inheritdoc
520520
*/
521521
public function setCustomerAddressId($id)
522522
{
523523
return $this->setData(OrderAddressInterface::CUSTOMER_ADDRESS_ID, $id);
524524
}
525525

526526
/**
527-
* {@inheritdoc}
527+
* @inheritdoc
528528
*/
529529
public function setRegionId($id)
530530
{
531531
return $this->setData(OrderAddressInterface::REGION_ID, $id);
532532
}
533533

534534
/**
535-
* {@inheritdoc}
535+
* @inheritdoc
536536
*/
537537
public function setStreet($street)
538538
{
539539
return $this->setData(OrderAddressInterface::STREET, $street);
540540
}
541541

542542
/**
543-
* {@inheritdoc}
543+
* @inheritdoc
544544
*/
545545
public function setCustomerId($id)
546546
{
547547
return $this->setData(OrderAddressInterface::CUSTOMER_ID, $id);
548548
}
549549

550550
/**
551-
* {@inheritdoc}
551+
* @inheritdoc
552552
*/
553553
public function setFax($fax)
554554
{
555555
return $this->setData(OrderAddressInterface::FAX, $fax);
556556
}
557557

558558
/**
559-
* {@inheritdoc}
559+
* @inheritdoc
560560
*/
561561
public function setRegion($region)
562562
{
563563
return $this->setData(OrderAddressInterface::REGION, $region);
564564
}
565565

566566
/**
567-
* {@inheritdoc}
567+
* @inheritdoc
568568
*/
569569
public function setPostcode($postcode)
570570
{
571571
return $this->setData(OrderAddressInterface::POSTCODE, $postcode);
572572
}
573573

574574
/**
575-
* {@inheritdoc}
575+
* @inheritdoc
576576
*/
577577
public function setLastname($lastname)
578578
{
579579
return $this->setData(OrderAddressInterface::LASTNAME, $lastname);
580580
}
581581

582582
/**
583-
* {@inheritdoc}
583+
* @inheritdoc
584584
*/
585585
public function setCity($city)
586586
{
587587
return $this->setData(OrderAddressInterface::CITY, $city);
588588
}
589589

590590
/**
591-
* {@inheritdoc}
591+
* @inheritdoc
592592
*/
593593
public function setEmail($email)
594594
{
595595
return $this->setData(OrderAddressInterface::EMAIL, $email);
596596
}
597597

598598
/**
599-
* {@inheritdoc}
599+
* @inheritdoc
600600
*/
601601
public function setTelephone($telephone)
602602
{
603603
return $this->setData(OrderAddressInterface::TELEPHONE, $telephone);
604604
}
605605

606606
/**
607-
* {@inheritdoc}
607+
* @inheritdoc
608608
*/
609609
public function setCountryId($id)
610610
{
611611
return $this->setData(OrderAddressInterface::COUNTRY_ID, $id);
612612
}
613613

614614
/**
615-
* {@inheritdoc}
615+
* @inheritdoc
616616
*/
617617
public function setFirstname($firstname)
618618
{
619619
return $this->setData(OrderAddressInterface::FIRSTNAME, $firstname);
620620
}
621621

622622
/**
623-
* {@inheritdoc}
623+
* @inheritdoc
624624
*/
625625
public function setAddressType($addressType)
626626
{
627627
return $this->setData(OrderAddressInterface::ADDRESS_TYPE, $addressType);
628628
}
629629

630630
/**
631-
* {@inheritdoc}
631+
* @inheritdoc
632632
*/
633633
public function setPrefix($prefix)
634634
{
635635
return $this->setData(OrderAddressInterface::PREFIX, $prefix);
636636
}
637637

638638
/**
639-
* {@inheritdoc}
639+
* @inheritdoc
640640
*/
641641
public function setMiddlename($middlename)
642642
{
643643
return $this->setData(OrderAddressInterface::MIDDLENAME, $middlename);
644644
}
645645

646646
/**
647-
* {@inheritdoc}
647+
* @inheritdoc
648648
*/
649649
public function setSuffix($suffix)
650650
{
651651
return $this->setData(OrderAddressInterface::SUFFIX, $suffix);
652652
}
653653

654654
/**
655-
* {@inheritdoc}
655+
* @inheritdoc
656656
*/
657657
public function setCompany($company)
658658
{
659659
return $this->setData(OrderAddressInterface::COMPANY, $company);
660660
}
661661

662662
/**
663-
* {@inheritdoc}
663+
* @inheritdoc
664664
*/
665665
public function setVatId($id)
666666
{
667667
return $this->setData(OrderAddressInterface::VAT_ID, $id);
668668
}
669669

670670
/**
671-
* {@inheritdoc}
671+
* @inheritdoc
672672
*/
673673
public function setVatIsValid($vatIsValid)
674674
{
675675
return $this->setData(OrderAddressInterface::VAT_IS_VALID, $vatIsValid);
676676
}
677677

678678
/**
679-
* {@inheritdoc}
679+
* @inheritdoc
680680
*/
681681
public function setVatRequestId($id)
682682
{
683683
return $this->setData(OrderAddressInterface::VAT_REQUEST_ID, $id);
684684
}
685685

686686
/**
687-
* {@inheritdoc}
687+
* @inheritdoc
688688
*/
689689
public function setRegionCode($regionCode)
690690
{
691691
return $this->setData(OrderAddressInterface::KEY_REGION_CODE, $regionCode);
692692
}
693693

694694
/**
695-
* {@inheritdoc}
695+
* @inheritdoc
696696
*/
697697
public function setVatRequestDate($vatRequestDate)
698698
{
699699
return $this->setData(OrderAddressInterface::VAT_REQUEST_DATE, $vatRequestDate);
700700
}
701701

702702
/**
703-
* {@inheritdoc}
703+
* @inheritdoc
704704
*/
705705
public function setVatRequestSuccess($vatRequestSuccess)
706706
{
707707
return $this->setData(OrderAddressInterface::VAT_REQUEST_SUCCESS, $vatRequestSuccess);
708708
}
709709

710710
/**
711-
* {@inheritdoc}
711+
* @inheritdoc
712712
*
713713
* @return \Magento\Sales\Api\Data\OrderAddressExtensionInterface|null
714714
*/
@@ -718,7 +718,7 @@ public function getExtensionAttributes()
718718
}
719719

720720
/**
721-
* {@inheritdoc}
721+
* @inheritdoc
722722
*
723723
* @param \Magento\Sales\Api\Data\OrderAddressExtensionInterface $extensionAttributes
724724
* @return $this

app/code/Magento/Widget/Block/BlockInterface.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ interface BlockInterface
1919
{
2020
/**
2121
* Add data to the widget.
22+
*
2223
* Retains previous data in the widget.
2324
*
2425
* @param array $arr

0 commit comments

Comments
 (0)