PluginProbe
AcyMailing – An Ultimate Newsletter Plugin and Marketing Automation Solution for WordPress / 11.1.0
AcyMailing – An Ultimate Newsletter Plugin and Marketing Automation Solution for WordPress v11.1.0
11.1.1 11.1.0 11.0.5 11.0.4 11.0.3 11.0.2 11.0.1 11.0.0 10.11.1 10.11.0 10.10.2 10.10.1 10.10.0 10.9.1 trunk 10.0.0 10.0.1 10.1.0 10.1.1 10.1.2 10.1.3 10.1.4 10.2.0 10.2.1 10.2.2 All 62 releases
← All changes | back/Libraries/Sabberworm/CSS/src/Comment/Commentable.php +12 -11 10.0.1 → 11.1.0 View file →
@@ -1,25 +1,26 @@
1 1 <?php
2 2
3 -namespace Sabberworm\CSS\Comment;
3 +declare(strict_types=1);
4 4
5 +namespace AcyMailing\Libraries\Sabberworm\CSS\Comment;
6 +
7 +/**
8 + * A standard implementation of this interface is available in the `CommentContainer` trait.
9 + */
5 10 interface Commentable
6 11 {
7 12 /**
8 - * @param array<array-key, Comment> $aComments
9 - *
10 - * @return void
13 + * @param list<Comment> $comments
11 14 */
12 - public function addComments(array $aComments);
15 + public function addComments(array $comments): void;
13 16
14 17 /**
15 - * @return array<array-key, Comment>
18 + * @return list<Comment>
16 19 */
17 - public function getComments();
20 + public function getComments(): array;
18 21
19 22 /**
20 - * @param array<array-key, Comment> $aComments
21 - *
22 - * @return void
23 + * @param list<Comment> $comments
23 24 */
24 - public function setComments(array $aComments);
25 + public function setComments(array $comments): void;
25 26 }