props: {
siteWide: {
type: Boolean,
default: false,
}
},
computed: {
siteWidePath() {
return this.siteWide ? ';path=/' : '';
}
}
function fname(string $str, \SoapClient $client) {
//...
}
function fname(string $str, \SoapClient $client) : int
{
//...
return 0;
}
/**
* @param $str string|null
* @param $client \SoapClien
**/
function fname(?string $str, \SoapClient $client) {
//...
}