Skip to content

Commit 5b880c7

Browse files
committed
Formatting commit
1 parent 8a8745f commit 5b880c7

28 files changed

+71
-59
lines changed

src/Entities/Blocks/BaseFileBlock.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ protected static function createFileBlock(BaseFileBlock $fileBlock, string $url,
4343

4444

4545
/**
46-
*
46+
*
4747
*/
4848
protected function fillFromRaw(): void
4949
{
@@ -52,7 +52,7 @@ protected function fillFromRaw(): void
5252
}
5353

5454
/**
55-
*
55+
*
5656
*/
5757
protected function fillContent(): void
5858
{

src/Entities/Blocks/Block.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,7 @@ public function getLastEditedTime(): DateTime
146146
}
147147

148148
/**
149-
*
149+
*
150150
*/
151151
public function getContent()
152152
{

src/Entities/Blocks/BulletedListItem.php

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,12 +15,13 @@ class BulletedListItem extends TextBlock
1515
{
1616
public static function create(array|string $textContent): BulletedListItem
1717
{
18-
$bulletedListItem = new BulletedListItem();
18+
$bulletedListItem = new BulletedListItem();
1919
TextBlock::createTextBlock($bulletedListItem, $textContent);
2020
return $bulletedListItem;
2121
}
2222

23-
function __construct(array $responseData = null){
23+
function __construct(array $responseData = null)
24+
{
2425
$this->type = "bulleted_list_item";
2526
parent::__construct($responseData);
2627
}

src/Entities/Blocks/ChildPage.php

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,13 +13,14 @@
1313
*/
1414
class ChildPage extends Block
1515
{
16-
function __construct(array $responseData = null){
16+
function __construct(array $responseData = null)
17+
{
1718
$this->type = "child_page";
1819
parent::__construct($responseData);
1920
}
2021

2122
/**
22-
*
23+
*
2324
*/
2425
protected function fillFromRaw(): void
2526
{
@@ -28,9 +29,9 @@ protected function fillFromRaw(): void
2829
}
2930

3031
/**
31-
*
32+
*
3233
*/
33-
protected function fillContent() : void
34+
protected function fillContent(): void
3435
{
3536
$this->content = $this->rawContent['title'];
3637
$this->text = $this->getContent();

src/Entities/Blocks/Embed.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ function __construct(array $responseData = null)
4646
}
4747

4848
/**
49-
*
49+
*
5050
*/
5151
protected function fillFromRaw(): void
5252
{
@@ -55,7 +55,7 @@ protected function fillFromRaw(): void
5555
}
5656

5757
/**
58-
*
58+
*
5959
*/
6060
protected function fillContent(): void
6161
{

src/Entities/Blocks/HeadingOne.php

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,12 +15,13 @@ class HeadingOne extends TextBlock
1515
{
1616
public static function create(array|string $textContent): HeadingOne
1717
{
18-
$headingOne = new HeadingOne();
18+
$headingOne = new HeadingOne();
1919
TextBlock::createTextBlock($headingOne, $textContent);
2020
return $headingOne;
2121
}
2222

23-
function __construct(array $responseData = null){
23+
function __construct(array $responseData = null)
24+
{
2425
$this->type = "heading_1";
2526
parent::__construct($responseData);
2627
}

src/Entities/Blocks/HeadingThree.php

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,12 +15,13 @@ class HeadingThree extends TextBlock
1515
{
1616
public static function create(array|string $textContent): HeadingThree
1717
{
18-
$headingThree = new HeadingThree();
18+
$headingThree = new HeadingThree();
1919
HeadingThree::createTextBlock($headingThree, $textContent);
2020
return $headingThree;
2121
}
2222

23-
function __construct(array $responseData = null){
23+
function __construct(array $responseData = null)
24+
{
2425
$this->type = "heading_3";
2526
parent::__construct($responseData);
2627
}

src/Entities/Blocks/HeadingTwo.php

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,12 +15,13 @@ class HeadingTwo extends TextBlock
1515
{
1616
public static function create(array|string $textContent): HeadingTwo
1717
{
18-
$headingTwo = new HeadingTwo();
18+
$headingTwo = new HeadingTwo();
1919
HeadingTwo::createTextBlock($headingTwo, $textContent);
2020
return $headingTwo;
2121
}
2222

23-
function __construct(array $responseData = null){
23+
function __construct(array $responseData = null)
24+
{
2425
$this->type = "heading_2";
2526
parent::__construct($responseData);
2627
}

src/Entities/Blocks/NumberedListItem.php

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,12 +15,13 @@ class NumberedListItem extends TextBlock
1515
{
1616
public static function create(array|string $textContent): NumberedListItem
1717
{
18-
$numberedListItem = new NumberedListItem();
18+
$numberedListItem = new NumberedListItem();
1919
TextBlock::createTextBlock($numberedListItem, $textContent);
2020
return $numberedListItem;
2121
}
2222

23-
function __construct(array $responseData = null){
23+
function __construct(array $responseData = null)
24+
{
2425
$this->type = "numbered_list_item";
2526
parent::__construct($responseData);
2627
}

src/Entities/Blocks/Paragraph.php

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,12 +16,13 @@ class Paragraph extends TextBlock
1616
{
1717
public static function create(array|string $textContent): Paragraph
1818
{
19-
$paragraph = new Paragraph();
19+
$paragraph = new Paragraph();
2020
TextBlock::createTextBlock($paragraph, $textContent);
2121
return $paragraph;
2222
}
2323

24-
function __construct(array $responseData = null){
24+
function __construct(array $responseData = null)
25+
{
2526
$this->type = "paragraph";
2627
parent::__construct($responseData);
2728
}

0 commit comments

Comments
 (0)