Skip to content

Commit bbaa2a9

Browse files
committed
fix: remove duplicated asText
1 parent 18240e4 commit bbaa2a9

File tree

2 files changed

+1
-17
lines changed

2 files changed

+1
-17
lines changed

src/Entities/Properties/Text.php

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -68,15 +68,7 @@ protected function fillText(): void
6868
$this->content = new RichText($this->rawContent);
6969
$this->plainText = $this->content->getPlainText();
7070
}
71-
72-
/**
73-
* @return string
74-
*/
75-
public function asText(): string
76-
{
77-
return $this->getPlainText();
78-
}
79-
71+
8072
/**
8173
* @return RichText
8274
*/

src/Entities/Properties/Title.php

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -68,14 +68,6 @@ private function fillText(): void
6868
$this->plainText = $this->content->getPlainText();
6969
}
7070

71-
/**
72-
* @return string
73-
*/
74-
public function asText(): string
75-
{
76-
return $this->getPlainText();
77-
}
78-
7971
/**
8072
* @return RichText
8173
*/

0 commit comments

Comments
 (0)