Skip to content

Commit

Permalink
fix ref type mismatch
Browse files Browse the repository at this point in the history
  • Loading branch information
mvorisek committed Aug 3, 2023
1 parent 4282e37 commit 7c32164
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 27 deletions.
26 changes: 13 additions & 13 deletions test/rst_doc.html
Original file line number Diff line number Diff line change
Expand Up @@ -470,42 +470,42 @@ <h3>Test Case - Global symbols with no namespaces<a class="headerlink" href="#te
</p>
<p>
<a class="reference internal" href="#DateTime::setTime" title="DateTime::setTime">
<code class="xref php php-func docutils literal notranslate">
<code class="xref php php-meth docutils literal notranslate">
<span class="pre">DateTime::setTime()</span>
</code>
</a>
</p>
<p>
<a class="reference internal" href="#DateTime::getLastErrors" title="DateTime::getLastErrors">
<code class="xref php php-func docutils literal notranslate">
<code class="xref php php-meth docutils literal notranslate">
<span class="pre">DateTime::getLastErrors()</span>
</code>
</a>
</p>
<p>
<a class="reference internal" href="#DateTime::setDate" title="DateTime::setDate">
<code class="xref php php-func docutils literal notranslate">
<code class="xref php php-meth docutils literal notranslate">
<span class="pre">DateTime::setDate()</span>
</code>
</a>
</p>
<p>
<a class="reference internal" href="#DateTime::ATOM" title="DateTime::ATOM">
<code class="xref php php-func docutils literal notranslate">
<code class="xref php php-const docutils literal notranslate">
<span class="pre">DateTime::ATOM</span>
</code>
</a>
</p>
<p>
<a class="reference internal" href="#DateTime::$testattr" title="DateTime::$testattr">
<code class="xref php php-func docutils literal notranslate">
<code class="xref php php-attr docutils literal notranslate">
<span class="pre">DateTime::$testattr</span>
</code>
</a>
</p>
<p>
<a class="reference internal" href="#OtherClass::update" title="OtherClass::update">
<code class="xref php php-func docutils literal notranslate">
<code class="xref php php-meth docutils literal notranslate">
<span class="pre">OtherClass::update</span>
</code>
</a>
Expand Down Expand Up @@ -547,35 +547,35 @@ <h3>Test Case - Global symbols with no namespaces<a class="headerlink" href="#te
</p>
<p>
<a class="reference internal" href="#DateTimeInterface::setTime" title="DateTimeInterface::setTime">
<code class="xref php php-func docutils literal notranslate">
<code class="xref php php-meth docutils literal notranslate">
<span class="pre">DateTimeInterface::setTime()</span>
</code>
</a>
</p>
<p>
<a class="reference internal" href="#DateTimeInterface::setDate" title="DateTimeInterface::setDate">
<code class="xref php php-func docutils literal notranslate">
<code class="xref php php-meth docutils literal notranslate">
<span class="pre">setDate()</span>
</code>
</a>
</p>
<p>
<a class="reference internal" href="#DateTimeInterface::ATOM" title="DateTimeInterface::ATOM">
<code class="xref php php-func docutils literal notranslate">
<code class="xref php php-const docutils literal notranslate">
<span class="pre">DateTimeInterface::ATOM</span>
</code>
</a>
</p>
<p>
<a class="reference internal" href="#DateTimeInterface::$testattr" title="DateTimeInterface::$testattr">
<code class="xref php php-func docutils literal notranslate">
<code class="xref php php-attr docutils literal notranslate">
<span class="pre">DateTimeInterface::$testattr</span>
</code>
</a>
</p>
<p>
<a class="reference internal" href="#OtherInterface" title="OtherInterface">
<code class="xref php php-func docutils literal notranslate">
<code class="xref php php-interface docutils literal notranslate">
<span class="pre">OtherInterface</span>
</code>
</a>
Expand All @@ -589,7 +589,7 @@ <h3>Test Case - Global symbols with no namespaces<a class="headerlink" href="#te
</p>
<p>
<a class="reference internal" href="#LogTrait::log" title="LogTrait::log">
<code class="xref php php-func docutils literal notranslate">
<code class="xref php php-meth docutils literal notranslate">
<span class="pre">LogTrait::log()</span>
</code>
</a>
Expand All @@ -600,7 +600,7 @@ <h3>Test Case - Prefix less links<a class="headerlink" href="#test-case-prefix-l
<p>The following links should not be prefixed with a classname.</p>
<p>
<a class="reference internal" href="#DateTime::setDate" title="DateTime::setDate">
<code class="xref php php-func docutils literal notranslate">
<code class="xref php php-meth docutils literal notranslate">
<span class="pre">setDate()</span>
</code>
</a>
Expand Down
28 changes: 14 additions & 14 deletions test/rst_doc.md
Original file line number Diff line number Diff line change
Expand Up @@ -163,17 +163,17 @@ Test Case - Global symbols with no namespaces
:php:class:`DateTime`
:php:func:`DateTime::setTime()`
:php:meth:`DateTime::setTime()`
:php:func:`DateTime::getLastErrors()`
:php:meth:`DateTime::getLastErrors()`
:php:func:`DateTime::setDate()`
:php:meth:`DateTime::setDate()`
:php:func:`DateTime::ATOM`
:php:const:`DateTime::ATOM`
:php:func:`DateTime::$testattr`
:php:attr:`DateTime::$testattr`
:php:func:`OtherClass::update`
:php:meth:`OtherClass::update`
:php:attr:`OtherClass::$nonIndentedAttribute`
Expand All @@ -185,26 +185,26 @@ Test Case - Global symbols with no namespaces
:php:interface:`DateTimeInterface`
:php:func:`DateTimeInterface::setTime()`
:php:meth:`DateTimeInterface::setTime()`
:php:func:`~DateTimeInterface::setDate()`
:php:meth:`~DateTimeInterface::setDate()`
:php:func:`DateTimeInterface::ATOM`
:php:const:`DateTimeInterface::ATOM`
:php:func:`DateTimeInterface::$testattr`
:php:attr:`DateTimeInterface::$testattr`
:php:func:`OtherInterface`
:php:interface:`OtherInterface`
:php:trait:`LogTrait`
:php:func:`LogTrait::log()`
:php:meth:`LogTrait::log()`
Test Case - Prefix less links
-----------------------------
The following links should not be prefixed with a classname.
:php:func:`~DateTime::setDate()`
:php:meth:`~DateTime::setDate()`
:php:attr:`~DateTime::$testattr`
Expand Down Expand Up @@ -369,7 +369,7 @@ Within a namespace context you don't need to include the namespace in links.
:php:trait:`TemplateTrait`
:php:func:`TemplateTrait::render()`
:php:meth:`TemplateTrait::render()`
Test Case - Links with prefix trimming
--------------------------------------
Expand Down

0 comments on commit 7c32164

Please sign in to comment.