Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

CS fixes: trailing whitespace

  • Loading branch information...
commit 749ff83b78942a483a8a4851763c05a703f8f57b 1 parent b3f0974
Matthew Weier O'Phinney authored
View
10 library/Phlyty/App.php
@@ -115,7 +115,7 @@ class App
/**
* Prototype object for view models
- *
+ *
* @var object
*/
protected $viewModelPrototype;
@@ -286,9 +286,9 @@ public function setView(View\ViewInterface $view)
* Retrieve a view model instance
*
* Always returns a new view model instance, cloned from the instance in
- * $viewModelPrototype. If no prototype exists, creates one from
+ * $viewModelPrototype. If no prototype exists, creates one from
* View\MustacheViewModel.
- *
+ *
* @return object
*/
public function viewModel()
@@ -303,8 +303,8 @@ public function viewModel()
/**
* Set view model prototype object
- *
- * @param object $model
+ *
+ * @param object $model
* @return App
* @throws Exception\InvalidViewModelException
*/
View
18 library/Phlyty/View/MustacheViewModel.php
@@ -40,11 +40,11 @@ class MustacheViewModel
* Constructor
*
* Receive and set the App instance as a protected property.
- * If an Escaper instance is passed, it will be assigned;
- * otherwise, an Escaper instance will be instantiated and
+ * If an Escaper instance is passed, it will be assigned;
+ * otherwise, an Escaper instance will be instantiated and
* assigned.
- *
- * @param App $app
+ *
+ * @param App $app
* @param null|Escaper $escaper
*/
public function __construct(App $app, Escaper $escaper = null)
@@ -60,7 +60,7 @@ public function __construct(App $app, Escaper $escaper = null)
/**
* Retrieve application instance
- *
+ *
* @return App
*/
public function __app()
@@ -70,7 +70,7 @@ public function __app()
/**
* Retrieve escaper instance
- *
+ *
* @return Escaper
*/
public function __escaper()
@@ -84,9 +84,9 @@ public function __escaper()
* Allows using '$this' within the helper in order to access public
* properties and methods. Binds the helper to the public property
* given by $name.
- *
- * @param string $name
- * @param callable $helper
+ *
+ * @param string $name
+ * @param callable $helper
* @return MustacheViewModel
*/
public function bindHelper($name, callable $helper)
Please sign in to comment.
Something went wrong with that request. Please try again.