diff --git a/cake/libs/view/helpers/paginator.php b/cake/libs/view/helpers/paginator.php index a48a4bb70..ca82be603 100644 --- a/cake/libs/view/helpers/paginator.php +++ b/cake/libs/view/helpers/paginator.php @@ -178,7 +178,6 @@ class PaginatorHelper extends AppHelper { } else { return 'asc'; } - return null; } /** * Generates a "previous" link for a set of paged records diff --git a/cake/libs/view/helpers/xml.php b/cake/libs/view/helpers/xml.php index 6a366871b..7eef239ce 100644 --- a/cake/libs/view/helpers/xml.php +++ b/cake/libs/view/helpers/xml.php @@ -236,7 +236,6 @@ class XmlHelper extends AppHelper { } else { return $content; } - return false; } /** * Serializes a model resultset into XML