Skip to content

Commit

Permalink
Fix documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
muglug committed Jul 30, 2020
1 parent a8c0d81 commit 5635070
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions docs/manipulating_code/fixing.md
Original file line number Diff line number Diff line change
Expand Up @@ -222,23 +222,23 @@ class C {
C::foo("hello");
```

### MissingParamType
### MissingPropertyType

Running `vendor/bin/psalter --issues=MissingParamType` on
Running `vendor/bin/psalter --issues=MissingPropertyType` on
```php
<?php
class A {
public $foo;
public $bar;

public function __construct()
{
if (rand(0, 1)) {
$this->foo = 5;
} else {
$this->foo = "hello";
}

$this->bar = "baz";
}
}
Expand All @@ -255,15 +255,15 @@ class A {
public $foo;

public string $bar;

public function __construct()
{
if (rand(0, 1)) {
$this->foo = 5;
} else {
$this->foo = "hello";
}

$this->bar = "baz";
}
}
Expand Down

0 comments on commit 5635070

Please sign in to comment.