for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace eXpansion\Framework\Core\DataProviders;
class ManialinkPageAnswerDataProvider extends AbstractDataProvider
{
/**
* When a player uses an action dispatch information.
*
* @param $login
* @param $actionId
*/
public function onPlayerManialinkPageAnswer($playerUid, $login, $actionId, array $entries)
$playerUid
This check looks from parameters that have been defined for a function or method, but which are not used in the method body.
$entryValues = array();
if (count($entries))
foreach ($entries as $entry) {
$entryValues[$entry['Name']] = $entry['Value'];
}
$this->dispatch(__FUNCTION__, [$login, $actionId, $entryValues]);
This check looks from parameters that have been defined for a function or method, but which are not used in the method body.