mirror of
https://github.com/php/presentations.git
synced 2026-03-23 23:22:22 +01:00
font size tweak
This commit is contained in:
@@ -229,7 +229,7 @@ type string, integer given</code></pre>
|
||||
</section>
|
||||
<section id="php7anon">
|
||||
<p class="p" style="font-size:1.1em;text-align:left;">✔ Anonymous Classes</p>
|
||||
<pre><code data-trim style="font-size:1.5em;">return new class($controller) implements Page {
|
||||
<pre><code data-trim style="font-size:1.2em;">return new class($controller) implements Page {
|
||||
public function __construct($controller) {
|
||||
/* ... */
|
||||
}
|
||||
|
||||
@@ -50,7 +50,7 @@ type string, integer given
|
||||
|
||||
<break lines="1" section="php7anon"/>
|
||||
<blurb fontsize="1.1em" align="left">✔ Anonymous Classes</blurb>
|
||||
<example fontsize="1.5em" result='0' title=""><![CDATA[
|
||||
<example fontsize="1.2em" result='0' title=""><![CDATA[
|
||||
<?php
|
||||
return new class($controller) implements Page {
|
||||
public function __construct($controller) {
|
||||
|
||||
Reference in New Issue
Block a user