for new line.
eg.
<?php
class Person
{
$firstName; //a PHP string
$middleName; //a PHP string
$lastName; //a PHP string
$age; //a PHP Integer
$hasDriversLicense; //a PHP Boolean
}
So, How to avoid this?
Press Shift Key and click the Enter
It will make single space for next line
eg.
<?php
class A {
public $foo = 1;
}
$a = new A;
class Person
{
$firstName; //a PHP string
$middleName; //a PHP string
$lastName; //a PHP string
$age; //a PHP Integer
$hasDriversLicense; //a PHP Boolean
}
So, How to avoid this?
Press Shift Key and click the Enter
It will make single space for next line
eg.
<?php
class A {
public $foo = 1;
}
$a = new A;
No comments:
Post a Comment