summaryrefslogtreecommitdiffstats
path: root/src/Fragment.php
diff options
context:
space:
mode:
authorDan Ungureanu <udan1107@gmail.com>2015-06-30 22:17:29 +0300
committerDan Ungureanu <udan1107@gmail.com>2015-06-30 23:56:19 +0300
commit532ada6c8ed9eade76341dc39c99f209192d77e5 (patch)
tree6eeb2c93414e12a10fb4f1b7f161ea8f18598676 /src/Fragment.php
parenta2354cf85acd032efa374d1f9f611f02fdbe75f6 (diff)
downloadsql-parser-532ada6c8ed9eade76341dc39c99f209192d77e5.zip
sql-parser-532ada6c8ed9eade76341dc39c99f209192d77e5.tar.gz
sql-parser-532ada6c8ed9eade76341dc39c99f209192d77e5.tar.bz2
Miscellaneous fixes.
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;
}