πŸš€ go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: php.pres
Article #1

[PRES] [presentations] master: Fix some typoes (thanks Rob)

#1
From: Derick Rethans
Date: Thu, 15 May 2025 10:06
65 lines
5215 bytes
Author: Derick Rethans (derickr)
Date: 2025-05-15T10:55:32+01:00

Commit: https://github.com/php/presentations/commit/848885a9371d85ccc33c4e9641b894aca582534f
Raw diff: https://github.com/php/presentations/commit/848885a9371d85ccc33c4e9641b894aca582534f.diff

Fix some typoes (thanks Rob)

Changed paths:
  M  slides/internals/php84-asymmetric-visibility-2.xml
  M  slides/internals/php85-asymmetric-visibility-static.xml
  M  slides/internals/php85-grapheme-levenstein2.xml
  M  slides/internals/php85-pipes.xml


Diff:

diff --git a/slides/internals/php84-asymmetric-visibility-2.xml b/slides/internals/php84-asymmetric-visibility-2.xml
index c7a72f32..0f091f7b 100644
--- a/slides/internals/php84-asymmetric-visibility-2.xml
+++ b/slides/internals/php84-asymmetric-visibility-2.xml
@@ -5,7 +5,7 @@
 	<bullet>Only works on typed properties</bullet>
 	<bullet>%set% visibility must be equal or lesser than main (%get%) visbility</bullet>
 	<bullet>Using %$obj->array[]% follows %set% visibility</bullet>
-	<bullet>Inherited properties must have the same time, and might have a wider visibility</bullet>
+	<bullet>Inherited properties must have the same type, and might have a wider visibility</bullet>
 	<bullet>%private(set)% also implies %final%</bullet>
 	<bullet>%readonly% (without %private(set)%) is analogous to %protected(set)% (+ write once semantics)</bullet>
 </list>
diff --git a/slides/internals/php85-asymmetric-visibility-static.xml b/slides/internals/php85-asymmetric-visibility-static.xml
index 4e8fe84b..fd8c01a4 100644
--- a/slides/internals/php85-asymmetric-visibility-static.xml
+++ b/slides/internals/php85-asymmetric-visibility-static.xml
@@ -1,5 +1,5 @@
 <slide>
-<title>PHP 8.5: Asymmetric Visibility for Constants</title>
+<title>PHP 8.5: Asymmetric Visibility for Statics</title>
 
 <blurb>Was missing in PHP 8.4, but turned out to be easy.</blurb>
 
diff --git a/slides/internals/php85-grapheme-levenstein2.xml b/slides/internals/php85-grapheme-levenstein2.xml
index a614c174..adfcfacc 100644
--- a/slides/internals/php85-grapheme-levenstein2.xml
+++ b/slides/internals/php85-grapheme-levenstein2.xml
@@ -1,5 +1,5 @@
 <slide>
-<title>PHP 8.5: grapheme_levenstein</title>
+<title>PHP 8.5: grapheme_levenshtein</title>
 
 <example result="0"><![CDATA[<?php
 $flagUA = 'πŸ‡ΊπŸ‡¦';
diff --git a/slides/internals/php85-pipes.xml b/slides/internals/php85-pipes.xml
index f0a12821..aa5812d2 100644
--- a/slides/internals/php85-pipes.xml
+++ b/slides/internals/php85-pipes.xml
@@ -7,7 +7,7 @@ function slugger(string $input)
     return $input
         |> \strtolower(...)
         |> fn($x) => \preg_replace('/[^a-z]/', '-', $x)
-        |> fn($x) => \trim($value, '-')
+        |> fn($x) => \trim($x, '-')
         |> fn($x) => \preg_replace('/-+/', '-', $x); 
 }
 
Technical Details
Message-ID: <4qli7GSkYjh3DYUmQB3XVuaDKl3QFMRuArHYXu4E@main.php.net>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!archive!apf9.newsdeef.eu!news.php.net

Show Full Headers
Complete Article Headers
Message-ID: <4qli7GSkYjh3DYUmQB3XVuaDKl3QFMRuArHYXu4E@main.php.net>
Subject: [PRES] [presentations] master: Fix some typoes (thanks Rob)
Date: Thu, 15 May 2025 10:06:51 +0000
From: noreply@php.net (Derick Rethans)
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!archive!apf9.newsdeef.eu!news.php.net
Newsgroups: php.pres
X-Original-To: pres@lists.php.net
Delivered-To: pres@lists.php.net
Received: from php-smtp4.php.net (php-smtp4.php.net [45.112.84.5])
 by lists.php.net (Postfix) with ESMTPS id 86BBD1A00BC
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=php.net; s=mail;
 t=1747302822; bh=eeBMvhn3JIo75PKx+cOGWSKuUQ/g4WR+o69Wj1shl8M=;
 h=Date:To:From:Reply-To:Subject:From;
 b=brc1o7UYfXmTSDi1m/MCo0XLjD4PyiCnOxQou+QvznHyZkM+7HeVWOONaHYYKZ4Zx
 TeLe4fdtWHnDa+vRbhkv/9KhKCnlifJJiZ6B7IPA3I9+2E8AIEd2M7BAHhwq8jSHY7
 1tdKqMjgm4vhOGsujtXhsxqFcDS9wjTzTkYUdOZmfmX5cgbTNFyq3APkxNvujqq0hA
 y4Tt8r0JMrVOewJlLsX4ZAkc8gI30f92jCMAaNmwtTyArczY1bpmqrMq9Ts37Ux65O
 yMcUMayukdT/DfU0fHckOCVPQSLp9nvBsmi/AORmClzIO58TJCdwFoW3tHBE6B/GXM
 ddKJgr9JsdyLA==
Received: from php-smtp4.php.net (localhost [127.0.0.1])
 by php-smtp4.php.net (Postfix) with ESMTP id 16B66180057
X-Spam-Checker-Version: SpamAssassin 4.0.0 (2022-12-13) on php-smtp4.php.net
X-Spam-Status: No, score=-1.0 required=5.0 tests=ALL_TRUSTED,BAYES_20
 autolearn=no autolearn_force=no version=4.0.0
X-Spam-Virus: Error (Cannot connect to unix socket
 '/var/run/clamav/clamd.ctl': connect: Connection refused)
X-Envelope-From: <noreply@php.net>
Received: from main.php.net (main.php.net [142.93.197.176])
 (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
 key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256)
 (No client certificate requested)
 by php-smtp4.php.net (Postfix) with ESMTPS
To: pres@lists.php.net
Reply-To: Derick Rethans <github@derickrethans.nl>
X-Mailer: PHPMailer 6.4.0 (https://github.com/PHPMailer/PHPMailer)
Precedence: bulk
List-help: <mailto:pres+help@lists.php.net
List-unsubscribe: <mailto:pres+unsubscribe@lists.php.net>
List-post: <mailto:pres@lists.php.net>
List-Id: pres.lists.php.net
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 8bit