Skip to content

Commit 0d356f5

Browse files
committed
crosslink reusable library doc
1 parent b261bba commit 0d356f5

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

httplug/tutorial.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ still provide a way to interact with this object for your users::
7878

7979
throw $e;
8080
})->then(function (ResponseInterface $response) {
81-
echo 'Response stil available';
81+
echo 'Response still available';
8282

8383
return $response;
8484
}, function (Exception $e) {
@@ -159,4 +159,4 @@ TODO: explain how to handle exceptions, distinction between network exception an
159159
Writing a reusable package
160160
--------------------------
161161

162-
TODO: explain the virtual package
162+
See :ref:`httplug-building-reusable-library`

httplug/virtual-package.rst

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,8 @@ dependency on ``php-http/httplug`` in your ``composer.json`` file.
4646
However, if your code depends on a minimal version of HTTPlug,
4747
specify it to have composer report problems rather than the application failing at some point.
4848

49+
.. _httplug-building-reusable-library:
50+
4951
Building a Reusable Library
5052
---------------------------
5153

0 commit comments

Comments
 (0)