Skip to content

Commit ec12745

Browse files
committed
tidy up
1 parent 1e4dfcf commit ec12745

File tree

1 file changed

+8
-10
lines changed

1 file changed

+8
-10
lines changed

view/overview/index.phtml

Lines changed: 8 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -210,7 +210,7 @@ trait ReadOnly
210210
</code></pre>
211211
</div>
212212
<p>Implementing the <a href="https://github.com/mvc5/mvc5/blob/master/src/Config/Model.php">model</a> interface allows a
213-
component to only have to specify its immutable methods.</p>
213+
component to specify only its immutable methods.</p>
214214
<div class="language-php highlighter-rouge"><pre class="highlight"><code>interface Route
215215
extends Model
216216
{
@@ -528,7 +528,7 @@ $this-&gt;without(['foo', 'baz']);
528528
href="https://github.com/mvc5/mvc5/blob/master/src/Service/Middleware.php#L43">delegate</a> function is <a
529529
href="https://github.com/mvc5/mvc5/blob/master/src/Service/Middleware.php#L56">returned</a> as the result;
530530
otherwise null is <a href="https://github.com/mvc5/mvc5/blob/master/src/Service/Middleware.php#L56">returned</a>.
531-
This allows middleware functions to be easily created and for them to vary the arguments passed to the <a
531+
This allows middleware functions to be easily created and to vary the arguments passed to the <a
532532
href="https://github.com/mvc5/mvc5/blob/master/src/Service/Middleware.php#L62">next</a> function.</p>
533533
<div class="language-php highlighter-rouge"><pre class="highlight"><code>function __invoke(Route $route, Request $request, callable $next)
534534
{
@@ -588,9 +588,8 @@ $this-&gt;without(['foo', 'baz']);
588588
<p><a href="#routes">Routes</a> can be configured with <a
589589
href="https://github.com/mvc5/mvc5/blob/master/src/Middleware.php">middleware</a> pipelines and (optionally)
590590
a controller. During the <a href="https://github.com/mvc5/mvc5/blob/master/config/middleware.php#L7">route match</a>
591-
process the child stack is <a
592-
href="https://github.com/mvc5/mvc5/blob/master/src/Route/Match/Merge.php#L26">appended</a> to the parent
593-
stack. When the <a href="https://github.com/mvc5/mvc5/blob/master/src/Route/Route.php">route</a> is <a
591+
process, the child stack is <a href="https://github.com/mvc5/mvc5/blob/master/src/Route/Match/Merge.php#L26">appended</a>
592+
to the parent stack. When the <a href="https://github.com/mvc5/mvc5/blob/master/src/Route/Route.php">route</a> is <a
594593
href="https://github.com/mvc5/mvc5/blob/master/src/Route/Match/Path.php#L56">matched</a>, the <a
595594
href="https://github.com/mvc5/mvc5/blob/master/src/Route/Route.php#L38">controller</a> is <a
596595
href="https://github.com/mvc5/mvc5/blob/master/src/Route/Match/Middleware.php#L52">appended</a> to the
@@ -897,8 +896,8 @@ $app-&gt;call('dashboard-&gt;home', ['form' =&gt; []]);
897896
</div>
898897
<p>A <a href="https://github.com/mvc5/mvc5/blob/master/src/Resolver/Container.php">container</a> can contain any type of
899898
value, except for <a href="http://php.net/manual/en/language.types.null.php">null</a>; in which case the <a
900-
href="#maybe">maybe</a> and <a href="#nullable">nullable</a> plugins can be used. A parent container can
901-
also pass itself to a child container as the service <a
899+
href="#nullvalue">null value</a> plugin can be used. A parent container can also pass itself to a child
900+
container as the service <a
902901
href="https://github.com/mvc5/mvc5/blob/master/src/Resolver/Resolver.php#L73">provider</a> to use when the
903902
child container cannot retrieve or resolve a particular value. The parent container can also configure the <a
904903
href="https://github.com/mvc5/mvc5/blob/master/src/Resolver/Resolver.php#L75">scope</a> of an anonymous
@@ -913,9 +912,8 @@ $app-&gt;call('dashboard-&gt;home', ['form' =&gt; []]);
913912
injection</a>.</p>
914913

915914
<h3 id="plugins">Plugins</h3>
916-
<p>Plugins are <a href="https://github.com/mvc5/mvc5/blob/master/src/Resolver/Resolver.php#L412">resolved</a> can
917-
perform a variety of tasks and be nested together to form a composite plugin. Various types of plugins are available
918-
and custom plugins can also be created.</p>
915+
<p>Plugins can perform a variety of tasks and be nested together to form a composite plugin. Various types of plugins
916+
are available and custom plugins can also be created.</p>
919917
<h5 id="app"><a href="https://github.com/mvc5/mvc5/blob/master/src/Plugin/App.php">App</a></h5>
920918
<div class="language-php highlighter-rouge"><pre class="highlight"><code>'dashboard' =&gt; new App(new FileInclude(__DIR__ . '/dashboard.php')),
921919
</code></pre>

0 commit comments

Comments
 (0)