Skip to content

Commit 356f66d

Browse files
committed
Fix PHP CS
1 parent e25f882 commit 356f66d

File tree

141 files changed

+681
-620
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

141 files changed

+681
-620
lines changed

dist/src/Entity/Product/ProductAttribute.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
*
66
* (c) Monsieur Biz <[email protected]>
77
*
8-
* For the full copyright and license information, please view the LICENSE
8+
* For the full copyright and license information, please view the LICENSE.txt
99
* file that was distributed with this source code.
1010
*/
1111

dist/src/Entity/Product/ProductOption.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
*
66
* (c) Monsieur Biz <[email protected]>
77
*
8-
* For the full copyright and license information, please view the LICENSE
8+
* For the full copyright and license information, please view the LICENSE.txt
99
* file that was distributed with this source code.
1010
*/
1111

dist/src/Migrations/Version20211012092353.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
*
66
* (c) Monsieur Biz <[email protected]>
77
*
8-
* For the full copyright and license information, please view the LICENSE
8+
* For the full copyright and license information, please view the LICENSE.txt
99
* file that was distributed with this source code.
1010
*/
1111

generated/Model/ChannelDTO.php

+17-17
Original file line numberDiff line numberDiff line change
@@ -1,34 +1,34 @@
11
<?php
22

3+
/*
4+
* This file is part of Monsieur Biz' Search plugin for Sylius.
5+
*
6+
* (c) Monsieur Biz <[email protected]>
7+
*
8+
* For the full copyright and license information, please view the LICENSE.txt
9+
* file that was distributed with this source code.
10+
*/
11+
12+
declare(strict_types=1);
13+
314
namespace MonsieurBiz\SyliusSearchPlugin\Generated\Model;
415

516
class ChannelDTO
617
{
718
/**
8-
*
9-
*
1019
* @var string
1120
*/
1221
protected $code;
13-
/**
14-
*
15-
*
16-
* @return string
17-
*/
18-
public function getCode() : string
22+
23+
public function getCode(): string
1924
{
2025
return $this->code;
2126
}
22-
/**
23-
*
24-
*
25-
* @param string $code
26-
*
27-
* @return self
28-
*/
29-
public function setCode(string $code) : self
27+
28+
public function setCode(string $code): self
3029
{
3130
$this->code = $code;
31+
3232
return $this;
3333
}
34-
}
34+
}

generated/Model/ImageDTO.php

+18-18
Original file line numberDiff line numberDiff line change
@@ -1,34 +1,34 @@
11
<?php
22

3+
/*
4+
* This file is part of Monsieur Biz' Search plugin for Sylius.
5+
*
6+
* (c) Monsieur Biz <[email protected]>
7+
*
8+
* For the full copyright and license information, please view the LICENSE.txt
9+
* file that was distributed with this source code.
10+
*/
11+
12+
declare(strict_types=1);
13+
314
namespace MonsieurBiz\SyliusSearchPlugin\Generated\Model;
415

516
class ImageDTO
617
{
718
/**
8-
*
9-
*
10-
* @var null|string
19+
* @var string|null
1120
*/
1221
protected $path;
13-
/**
14-
*
15-
*
16-
* @return null|string
17-
*/
18-
public function getPath() : ?string
22+
23+
public function getPath(): ?string
1924
{
2025
return $this->path;
2126
}
22-
/**
23-
*
24-
*
25-
* @param null|string $path
26-
*
27-
* @return self
28-
*/
29-
public function setPath(?string $path) : self
27+
28+
public function setPath(?string $path): self
3029
{
3130
$this->path = $path;
31+
3232
return $this;
3333
}
34-
}
34+
}

generated/Model/PricingDTO.php

+37-67
Original file line numberDiff line numberDiff line change
@@ -1,115 +1,85 @@
11
<?php
22

3+
/*
4+
* This file is part of Monsieur Biz' Search plugin for Sylius.
5+
*
6+
* (c) Monsieur Biz <[email protected]>
7+
*
8+
* For the full copyright and license information, please view the LICENSE.txt
9+
* file that was distributed with this source code.
10+
*/
11+
12+
declare(strict_types=1);
13+
314
namespace MonsieurBiz\SyliusSearchPlugin\Generated\Model;
415

516
class PricingDTO
617
{
718
/**
8-
*
9-
*
1019
* @var string
1120
*/
1221
protected $channelCode;
22+
1323
/**
14-
*
15-
*
16-
* @var null|int
24+
* @var int|null
1725
*/
1826
protected $price;
27+
1928
/**
20-
*
21-
*
22-
* @var null|int
29+
* @var int|null
2330
*/
2431
protected $originalPrice;
32+
2533
/**
26-
*
27-
*
2834
* @var bool
2935
*/
3036
protected $priceReduced;
31-
/**
32-
*
33-
*
34-
* @return string
35-
*/
36-
public function getChannelCode() : string
37+
38+
public function getChannelCode(): string
3739
{
3840
return $this->channelCode;
3941
}
40-
/**
41-
*
42-
*
43-
* @param string $channelCode
44-
*
45-
* @return self
46-
*/
47-
public function setChannelCode(string $channelCode) : self
42+
43+
public function setChannelCode(string $channelCode): self
4844
{
4945
$this->channelCode = $channelCode;
46+
5047
return $this;
5148
}
52-
/**
53-
*
54-
*
55-
* @return null|int
56-
*/
57-
public function getPrice() : ?int
49+
50+
public function getPrice(): ?int
5851
{
5952
return $this->price;
6053
}
61-
/**
62-
*
63-
*
64-
* @param null|int $price
65-
*
66-
* @return self
67-
*/
68-
public function setPrice(?int $price) : self
54+
55+
public function setPrice(?int $price): self
6956
{
7057
$this->price = $price;
58+
7159
return $this;
7260
}
73-
/**
74-
*
75-
*
76-
* @return null|int
77-
*/
78-
public function getOriginalPrice() : ?int
61+
62+
public function getOriginalPrice(): ?int
7963
{
8064
return $this->originalPrice;
8165
}
82-
/**
83-
*
84-
*
85-
* @param null|int $originalPrice
86-
*
87-
* @return self
88-
*/
89-
public function setOriginalPrice(?int $originalPrice) : self
66+
67+
public function setOriginalPrice(?int $originalPrice): self
9068
{
9169
$this->originalPrice = $originalPrice;
70+
9271
return $this;
9372
}
94-
/**
95-
*
96-
*
97-
* @return bool
98-
*/
99-
public function getPriceReduced() : bool
73+
74+
public function getPriceReduced(): bool
10075
{
10176
return $this->priceReduced;
10277
}
103-
/**
104-
*
105-
*
106-
* @param bool $priceReduced
107-
*
108-
* @return self
109-
*/
110-
public function setPriceReduced(bool $priceReduced) : self
78+
79+
public function setPriceReduced(bool $priceReduced): self
11180
{
11281
$this->priceReduced = $priceReduced;
82+
11383
return $this;
11484
}
115-
}
85+
}

0 commit comments

Comments
 (0)