Skip to content

Commit

Permalink
FT2023-72: Made chenges written in comments in Task1
Browse files Browse the repository at this point in the history
  • Loading branch information
Gaurav-gupta11 committed Feb 22, 2023
1 parent 7f013c1 commit cbe919b
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions logic.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
* Represents a form with inputs
*/
class Form {

/** @var string $first The first name input */
public $first;
/** @var string $last The last name input */
Expand Down Expand Up @@ -34,11 +35,8 @@ public function showFullName() {
// Concatenate the first and last name and store in the $full variable
$this->full = $this->first . " " . $this->last;

// Create a message that includes the full name
$message = "Hello " . $this->full;

// Output the message to the user
echo $message;
// Output message that includes the full name
echo "Hello " . $this->full;
}
}

Expand Down

0 comments on commit cbe919b

Please sign in to comment.