ASDoc and package function

How to use ASDoc with a package function without switching StrictMode off?
I have such error: [SIZE=1][COLOR=#ff0000][SIZE=1][COLOR=#ff0000]
Error: definition not found net.imonair.core.utils:convertSpaces.
[/COLOR][/SIZE][/COLOR][/SIZE]

package net.imonair.core.utils { 
 public function convertSpaces(value:String, toWebFormat:Boolean = false):String {
  return toWebFormat ? value.replace(" ", "%20") : value.replace("%20", " ");
 }
}