diff --git a/Doxyfile b/Doxyfile index c63b088d..aeec5275 100644 --- a/Doxyfile +++ b/Doxyfile @@ -12,6 +12,7 @@ INPUT = README.md API.md SECURITY.md CHANGES.md lib/ FILE_PATTERNS = *.php RECURSIVE = YES USE_MDFILE_AS_MAINPAGE = README.md +ALIASES = "phan=\noop" HTML_COLORSTYLE = LIGHT HTML_DYNAMIC_SECTIONS = YES GENERATE_TREEVIEW = YES diff --git a/lib/Less/Functions.php b/lib/Less/Functions.php index bc1c9b1e..2d3baba4 100644 --- a/lib/Less/Functions.php +++ b/lib/Less/Functions.php @@ -273,6 +273,7 @@ public function saturate( $color = null, $amount = null, $method = null ) { /** * @param Less_Tree_Color|null $color * @param Less_Tree_Dimension|null $amount + * @param Less_Tree_Quoted|Less_Tree_Color|Less_Tree_Keyword|null $method */ public function desaturate( $color = null, $amount = null, $method = null ) { if ( !$color instanceof Less_Tree_Color ) { diff --git a/lib/Less/ImportVisitor.php b/lib/Less/ImportVisitor.php index a868a3e9..c2138a5b 100644 --- a/lib/Less/ImportVisitor.php +++ b/lib/Less/ImportVisitor.php @@ -1,5 +1,7 @@ $dirs The key should be a server directory from which LESS + * @param array $dirs The key should be a server directory from which LESS * files may be imported. The value is an optional public URL or URL base path that corresponds to * the same directory (use empty string otherwise). The value may also be a closure, in * which case the key is ignored. + * @phan-param array $dirs */ public function SetImportDirs( $dirs ) { self::$options['import_dirs'] = []; @@ -3217,6 +3217,7 @@ public static function serializeVars( $vars ) { /** * Some versions of PHP have trouble with method_exists($a,$b) if $a is not an object * + * @internal For internal use only * @param mixed $a * @param string $b */ @@ -3227,6 +3228,8 @@ public static function is_method( $a, $b ) { /** * Round numbers similarly to javascript * eg: 1.499999 to 1 instead of 2 + * + * @internal For internal use only */ public static function round( $input, $precision = 0 ) { $precision = pow( 10, $precision );