for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
/**
* DialogPluginTrait.php
*
* Provides stub methods for the DialogPlugin class, so it can conform to the interfaces it implements.
* @package jaxon-core
* @author Thierry Feuzeu <[email protected]>
* @copyright 2022 Thierry Feuzeu <[email protected]>
* @license https://opensource.org/licenses/BSD-3-Clause BSD 3-Clause License
* @link https://github.com/jaxon-php/jaxon-dialogs
*/
namespace Jaxon\Plugin\Response\Dialog;
trait DialogPluginTrait
{
public function setReturnCode(bool $bReturnCode)
$bReturnCode
If this is a false-positive, you can also ignore this issue in your code via the ignore-unused annotation
ignore-unused
public function setReturnCode(/** @scrutinizer ignore-unused */ bool $bReturnCode)
This check looks for parameters that have been defined for a function or method, but which are not used in the method body.
{}
public function getUri(): string
return '';
}
public function getSubdir(): string
public function getVersion(): string