mirror of
https://github.com/jupeter/clean-code-php.git
synced 2025-09-26 14:08:59 +02:00
Wording adjustment
This commit is contained in:
@@ -399,10 +399,10 @@ function createMicrobrewery(string $breweryName = 'Hipster Brew Co.'): void
|
|||||||
```php
|
```php
|
||||||
$a = '42';
|
$a = '42';
|
||||||
$b = 42;
|
$b = 42;
|
||||||
Use the simple comparison will convert the string in an int
|
// Use the simple comparison that will convert the string in an int
|
||||||
|
|
||||||
if( $a != $b ) {
|
if( $a != $b ) {
|
||||||
//The expression will always passes
|
// The expression will always pass
|
||||||
}
|
}
|
||||||
|
|
||||||
```
|
```
|
||||||
|
Reference in New Issue
Block a user