From 1879b8ea58d4a7d126ecf1d1ed9efb2f83c86f02 Mon Sep 17 00:00:00 2001
From: lsmith <lsmith@625475ce-881a-0410-a577-b389adb331d8>
Date: Fri, 11 May 2007 18:38:31 +0000
Subject: [PATCH] - typo fixes

---
 ...ing - Relations - Inheritance - Column aggregation.php | 4 ++--
 ...bjects - Component overview - Query - Introduction.php | 8 ++++----
 2 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/manual/docs/Object relational mapping - Relations - Inheritance - Column aggregation.php b/manual/docs/Object relational mapping - Relations - Inheritance - Column aggregation.php
index c31023b8d..0dd039512 100644
--- a/manual/docs/Object relational mapping - Relations - Inheritance - Column aggregation.php	
+++ b/manual/docs/Object relational mapping - Relations - Inheritance - Column aggregation.php	
@@ -76,10 +76,10 @@ $group->username='users';
 $group->password='password';
 $group->save();
 
-$q = Doctrine_Query();
+$q = new Doctrine_Query();
 $user = $q->from('Entity')->where('id=?')->execute(array($user->id))->getFirst();
 
-$q = Doctrine_Query();
+$q = new Doctrine_Query();
 $group = $q->from('Entity')->where('id=?')->execute(array($group->id))->getFirst();
 </code>
 
diff --git a/manual/docs/Working with objects - Component overview - Query - Introduction.php b/manual/docs/Working with objects - Component overview - Query - Introduction.php
index 1806fe32f..5fbecf564 100644
--- a/manual/docs/Working with objects - Component overview - Query - Introduction.php	
+++ b/manual/docs/Working with objects - Component overview - Query - Introduction.php	
@@ -1,12 +1,12 @@
 
 DQL (Doctrine Query Language) is a object query language which allows
-you to find objects. DQL understands things like object relationships, polymorphism and 
-inheritance (including column aggregation inheritance). 
+you to find objects. DQL understands things like object relationships, polymorphism and
+inheritance (including column aggregation inheritance).
 For more info about DQL see the actual DQL chapter.
 
 
 
-Doctrine_Query along with Doctrine_Expression provide an easy-to-use wrapper for writing DQL queries. Creating a new 
+Doctrine_Query along with Doctrine_Expression provide an easy-to-use wrapper for writing DQL queries. Creating a new
 query object can be done by either using the new operator or by calling create method. The create method exists for allowing easy
 method call chaining.
 
@@ -20,5 +20,5 @@ $q = new Doctrine_Query($conn);
 
 // an example using the create method
 // here we simple fetch all users
-$users = Doctrine_Query::create()->from('User')->execute();
+$users = new Doctrine_Query::create()->from('User')->execute();
 </code>
-- 
2.21.0