Applied fixes from StyleCI

This commit is contained in:
Manish Verma
2016-09-28 08:02:31 +00:00
committed by StyleCI Bot
parent 6f1831e58b
commit ccce4b97c6
5 changed files with 21 additions and 19 deletions

View File

@@ -285,7 +285,7 @@ class TicketWorkflowController extends Controller
*/
public function checkStarts($statement, $to_check)
{
if (substr($to_check, 0, strlen($statement)) == $statement) {
if (substr($to_check, 0, strlen($statement)) == $statement) {
return true;
} else {
return false;
@@ -303,7 +303,7 @@ class TicketWorkflowController extends Controller
public function checkEnds($statement, $to_check)
{
$to_check = strip_tags($to_check);
if (substr($to_check, -strlen($statement)) == $statement) {
if (substr($to_check, -strlen($statement)) == $statement) {
return true;
} else {
return false;