[DOC-CVS] [doc-en] master: Improve wording of Imagick::profileImage() (#5093)

[email protected] (Gina Peter Banyard via GitHub)
Newsgroups php.doc.cvs
Message-ID <[email protected]>
Author: Gina Peter Banyard (Girgias)
Committer: GitHub (web-flow)
Pusher: Girgias
Date: 2026-01-12T01:11:57Z

Commit: https://github.com/php/doc-en/commit/aec0a64f55fe137912bdb0956f77318b97aa6558
Raw diff: https://github.com/php/doc-en/commit/aec0a64f55fe137912bdb0956f77318b97aa6558.diff

Improve wording of Imagick::profileImage() (#5093)

Follow-up from GH-4822 after a comment on the commit

Changed paths:
  M  reference/imagick/imagick/profileimage.xml


Diff:

diff --git a/reference/imagick/imagick/profileimage.xml b/reference/imagick/imagick/profileimage.xml
index f2d7e20b7e73..92d5ede99145 100644
--- a/reference/imagick/imagick/profileimage.xml
+++ b/reference/imagick/imagick/profileimage.xml
@@ -14,10 +14,15 @@
    <methodparam choice="opt"><type>string</type><parameter>profile</parameter></methodparam>
   </methodsynopsis>
   <simpara>
-   Adds or removes a <acronym>ICC</acronym>, <acronym>IPTC</acronym>, or generic profile from an image.
-   If the <parameter>profile</parameter> is &null;, it is removed from the image otherwise
-   added. Use a <parameter>name</parameter> of <literal>'*'</literal> and a <parameter>profile</parameter> of &null; to remove all
-   profiles from the image.
+   Adds or removes a <acronym>ICC</acronym>, <acronym>IPTC</acronym>,
+   or generic profile from an image.
+   If the <parameter>profile</parameter> is &null;,
+   it is removed from the image rather than added.
+  </simpara>
+  <simpara>
+   To remove every single profile from the image use <literal>'*'</literal>
+   as the <parameter>name</parameter> and &null; for the
+   <parameter>profile</parameter>.
   </simpara>
  </refsect1>
 
@@ -38,7 +43,7 @@
      <listitem>
       <simpara>
        The profile data.
-       If the value is set to &null;, the specified profile has been deleted.
+       If &null;, the specified profile will be deleted.
       </simpara>
      </listitem>
     </varlistentry>
@@ -61,7 +66,6 @@
  </refsect1>
 
 </refentry>
-
 <!-- Keep this comment at the end of the file
 Local variables:
 mode: sgml
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.