Skip to content

Commit 14acbbe

Browse files
committed
Fixed license tags. Made Multipart.addMultipart final as addNestedMultipart
1 parent 9909f88 commit 14acbbe

File tree

6 files changed

+9
-9
lines changed

6 files changed

+9
-9
lines changed

src/Robtimus/Multipart/Multipart.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
*
88
* @package Robtimus\Multipart
99
* @author Rob Spoor
10-
* @license The Apache Software License, Version 2.0
10+
* @license https://www.apache.org/licenses/LICENSE-2.0.txt The Apache Software License, Version 2.0
1111
*/
1212
abstract class Multipart
1313
{
@@ -208,7 +208,7 @@ final protected function addContent($content, $length = -1)
208208
*
209209
* @return void
210210
*/
211-
protected function addMultipart(Multipart $multipart)
211+
final protected function addNestedMultipart(Multipart $multipart)
212212
{
213213
$this->startPart();
214214
$this->addContentType($multipart->getContentType());

src/Robtimus/Multipart/MultipartAlternative.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
*
77
* @package Robtimus\Multipart
88
* @author Rob Spoor
9-
* @license The Apache Software License, Version 2.0
9+
* @license https://www.apache.org/licenses/LICENSE-2.0.txt The Apache Software License, Version 2.0
1010
*/
1111
final class MultipartAlternative extends Multipart
1212
{
@@ -29,7 +29,7 @@ public function __construct($boundary = '')
2929
*/
3030
public function addMultipart(Multipart $multipart)
3131
{
32-
parent::addMultipart($multipart);
32+
$this->addNestedMultipart($multipart);
3333
return $this;
3434
}
3535

src/Robtimus/Multipart/MultipartFormData.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
*
77
* @package Robtimus\Multipart
88
* @author Rob Spoor
9-
* @license The Apache Software License, Version 2.0
9+
* @license https://www.apache.org/licenses/LICENSE-2.0.txt The Apache Software License, Version 2.0
1010
*/
1111
final class MultipartFormData extends Multipart
1212
{

src/Robtimus/Multipart/MultipartMixed.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
*
77
* @package Robtimus\Multipart
88
* @author Rob Spoor
9-
* @license The Apache Software License, Version 2.0
9+
* @license https://www.apache.org/licenses/LICENSE-2.0.txt The Apache Software License, Version 2.0
1010
*/
1111
final class MultipartMixed extends Multipart
1212
{
@@ -29,7 +29,7 @@ public function __construct($boundary = '')
2929
*/
3030
public function addMultipart(Multipart $multipart)
3131
{
32-
parent::addMultipart($multipart);
32+
$this->addNestedMultipart($multipart);
3333
return $this;
3434
}
3535

src/Robtimus/Multipart/MultipartRelated.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
*
77
* @package Robtimus\Multipart
88
* @author Rob Spoor
9-
* @license The Apache Software License, Version 2.0
9+
* @license https://www.apache.org/licenses/LICENSE-2.0.txt The Apache Software License, Version 2.0
1010
*/
1111
final class MultipartRelated extends Multipart
1212
{

src/Robtimus/Multipart/Util.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
*
77
* @package Robtimus\Multipart
88
* @author Rob Spoor
9-
* @license The Apache Software License, Version 2.0
9+
* @license https://www.apache.org/licenses/LICENSE-2.0.txt The Apache Software License, Version 2.0
1010
*/
1111
final class Util
1212
{

0 commit comments

Comments
 (0)