From 1b2c7b100646d70852106bcb8d73305e337a9936 Mon Sep 17 00:00:00 2001 From: raxbg Date: Tue, 12 Nov 2019 16:56:41 +0200 Subject: [PATCH 1/2] Add Import::getMediaQuery() method --- lib/Sabberworm/CSS/Property/Import.php | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/lib/Sabberworm/CSS/Property/Import.php b/lib/Sabberworm/CSS/Property/Import.php index 4d40f5a0..0e9e0421 100644 --- a/lib/Sabberworm/CSS/Property/Import.php +++ b/lib/Sabberworm/CSS/Property/Import.php @@ -66,4 +66,8 @@ public function getComments() { public function setComments(array $aComments) { $this->aComments = $aComments; } -} \ No newline at end of file + + public function getMediaQuery() { + return $this->sMediaQuery; + } +} From ef3c31c82326a3e82c8ca4f4da3773f3fd85d388 Mon Sep 17 00:00:00 2001 From: Ivailo Hristov Date: Sat, 17 Sep 2022 22:20:05 +0300 Subject: [PATCH 2/2] Add PHPDoc --- src/Property/Import.php | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/src/Property/Import.php b/src/Property/Import.php index b384d452..d715a7a0 100644 --- a/src/Property/Import.php +++ b/src/Property/Import.php @@ -135,8 +135,11 @@ public function setComments(array $aComments) $this->aComments = $aComments; } - public function getMediaQuery() - { - return $this->sMediaQuery; - } + /** + * @return string + */ + public function getMediaQuery() + { + return $this->sMediaQuery; + } }