I've been banging on the following error for awhile and I cannot tell what is wrong, please help:
Catchable fatal error: Argument 2 passed to ShapeFactory::Create() must be an array, string given, called in /home/content/14/11625314/html/AdvPHPwOOP/factory.php on line 22 and defined in /home/content/14/11625314/html/AdvPHPwOOP/ShapeFactory.php on line 11
I'm using PHP 5.3 thru goDaddy
Here's the code:
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Factory</title>
<link rel="stylesheet" href="style.css