Skip to content

Commit

Permalink
Fix coding style
Browse files Browse the repository at this point in the history
  • Loading branch information
yuya-takeyama committed Aug 18, 2012
1 parent c17ae42 commit c84cf66
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions src/React/ChildProcess/Factory.php
Expand Up @@ -15,11 +15,11 @@ public function __construct(LoopInterface $loop)
$this->loop = $loop;
}

public function spawn($file, array $args = array(), array $options = NULL)
public function spawn($file, array $args = array(), array $options = null)
{
$cmd = $this->createCommand($file, $args);
$cwd = isset($options['cwd']) ? $options['cwd'] : NULL;
$env = isset($options['env']) ? $options['env'] : NULL;
$cwd = isset($options['cwd']) ? $options['cwd'] : null;
$env = isset($options['env']) ? $options['env'] : null;

$fdSpec = array(
array('pipe', 'r'),
Expand Down
2 changes: 1 addition & 1 deletion src/React/ChildProcess/Process.php
Expand Up @@ -16,7 +16,7 @@ class Process extends EventEmitter

private $process;

private $status = NULL;
private $status = null;

public function __construct($process, WritableStreamInterface $stdin, ReadableStreamInterface $stdout, ReadableStreamInterface $stderr)
{
Expand Down

0 comments on commit c84cf66

Please sign in to comment.