summaryrefslogtreecommitdiffstats
path: root/src/Fragment.php
diff options
context:
space:
mode:
Diffstat (limited to 'src/Fragment.php')
-rw-r--r--src/Fragment.php7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/Fragment.php b/src/Fragment.php
index 6ae85da..29ec8a9 100644
--- a/src/Fragment.php
+++ b/src/Fragment.php
@@ -41,11 +41,14 @@ abstract class Fragment
/**
* Builds the string representation of a fragment of this type.
*
- * @param Fragment $fragment The fragment to be built.
+ * In other words, this function represents the inverse function of
+ * `static::parse`.
+ *
+ * @param mixed $fragment The fragment to be built.
*
* @return string
*/
- public static function build(Fragment $fragment)
+ public static function build($fragment)
{
return null;
}