original_string: public function argumentsForCallback(callable $callback): array
      {
          $definition = new ReflectionFunction($callback);
          $arguments = [];
  
          foreach ($definition->getParameters() as $parameter) {
              if ($type = $parameter->getType()) {
                  $arguments[] = Phony::emptyValue($type);
              } else {
                  $arguments[] = null;
              }
          }
  
          return $arguments;
      }
code: public function argumentsForCallback(callable $callback): array
      {
          $definition = new ReflectionFunction($callback);
          $arguments = [];
  
          foreach ($definition->getParameters() as $parameter) {
              if ($type = $parameter->getType()) {
                  $arguments[] = Phony::emptyValue($type);
              } else {
                  $arguments[] = null;
              }
          }
  
          return $arguments;
      }
code_tokens: public function argumentsForCallback ( callable $ callback ) : array { $ definition = new ReflectionFunction ( $ callback ) ; $ arguments = [ ] ; foreach ( $ definition -> getParameters ( ) as $ parameter ) { if ( $ type = $ parameter -> getType ( ) ) { $ arguments [ ] = Phony :: emptyValue ( $ type ) ; } else { $ arguments [ ] = null ; } } return $ arguments ; }
docstring: Returns an argument list of test doubles for the supplied callback.
  
  @param callable $callback The callback.
  
  @return array The arguments.
docstring_tokens: Returns an argument list of test doubles for the supplied callback .