]> git.immae.eu Git - github/shaarli/Shaarli.git/blobdiff - application/Utils.php
Link filter refactoring
[github/shaarli/Shaarli.git] / application / Utils.php
index f84f70e44a7f8662f136bd19909b35f338796cbd..aeaef9ff143a84e67f16bb99365fcdbd70680608 100644 (file)
@@ -72,12 +72,14 @@ function sanitizeLink(&$link)
 
 /**
  * Checks if a string represents a valid date
+
+ * @param string $format The expected DateTime format of the string
+ * @param string $string A string-formatted date
+ *
+ * @return bool whether the string is a valid date
  *
- * @param string        a string-formatted date
- * @param format        the expected DateTime format of the string
- * @return              whether the string is a valid date
- * @see                 http://php.net/manual/en/class.datetime.php
- * @see                 http://php.net/manual/en/datetime.createfromformat.php
+ * @see http://php.net/manual/en/class.datetime.php
+ * @see http://php.net/manual/en/datetime.createfromformat.php
  */
 function checkDateFormat($format, $string)
 {